login
A210579
a(1)=2, a(n+1)=a(n)*(n-th digit of the sequence or 10 in case of digit '0').
0
2, 4, 16, 16, 96, 96, 576, 5184, 31104, 279936, 1679616, 8398080, 58786560, 352719360, 1763596800, 1763596800, 14108774400, 56435097600, 169305292800, 169305292800, 169305292800, 1693052928000, 6772211712000, 13544423424000, 94810963968000, 853298675712000, 7679688081408000, 23039064244224000
OFFSET
1,1
COMMENTS
a(1)=0 and a(1)=1 would yield constant sequences.
PROG
(PARI) S=[a=2]; for(n=1, 50, print1(a", "); a*=if(S[1], S[1], 10); S=concat(vecextract(S, "^1"), eval(Vec(Str(a)))))
CROSSREFS
Sequence in context: A135569 A370874 A337109 * A217863 A186108 A131560
KEYWORD
nonn,base
AUTHOR
Eric Angelini and M. F. Hasler (writeup), Mar 23 2012
STATUS
approved