OFFSET
1,2
COMMENTS
The numbers 0, 5, 7, and 9 never appear, but arbitrarily long sequences of 8's appear.
LINKS
T. D. Noe, Table of n, a(n) for n = 1..15212
Erich Friedman, Puzzles of the Week.
EXAMPLE
1*2=2 2*2=4 2*4=8 4*8=32 8*3=24...
MATHEMATICA
t = {1, 2}; Do[ t = Join[t, IntegerDigits[t[[n-1]] t[[n-2]]]], {n, 3, 100}]; t
PROG
(Python)
from itertools import islice
from collections import deque
def agen(): # generator of terms
a = deque([1, 2])
while True:
a.extend(list(map(int, str(a[0]*a[1]))))
yield a.popleft()
print(list(islice(agen(), 105))) # Michael S. Branicky, Feb 15 2024
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
STATUS
approved