|
|
A047901
|
|
a(1) = 9; a(n+1) = a(n) * sum of decimal digits of a(n).
|
|
9
|
|
|
9, 81, 729, 13122, 118098, 3188646, 114791256, 4132485216, 148769467776, 10711401679872, 578415690713088, 41645929731342336, 2998506940656648192, 296852187125008171008, 24045027157125661851648, 2164052444141309566648320
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
NestList[# Total[IntegerDigits[#]]&, 9, 20] (* Harvey P. Dale, Feb 07 2022 *)
|
|
PROG
|
(Haskell)
a047901 n = a047901_list !! (n-1)
(Python)
for _ in range(10**2):
....l *= sum(int(d) for d in str(l))
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn,base
|
|
AUTHOR
|
Miklos SZABO (mike(AT)ludens.elte.hu)
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|