OFFSET
1,1
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3)=first digit of (a(1)*a(2)), a(4)=2nd digit of (a(1)*a(2)), a(5)=first digit of (a(2)*a(3)), a(6)=2nd digit of (a(2)*a(3))
MATHEMATICA
Fold[Join[#, IntegerDigits[Times @@ #[[#2;; #2+1]]]] &, {3, 7}, Range[100]] (* Paolo Xausa, Aug 18 2025 *)
PROG
(Python)
from itertools import islice
from collections import deque
def agen(): # generator of terms
a = deque([3, 7])
while True:
a.extend(list(map(int, str(a[0]*a[1]))))
yield a.popleft()
print(list(islice(agen(), 105))) # Michael S. Branicky, Aug 18 2025
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Bodo Zinser, Mar 20 2004
STATUS
approved
