|
Search: id:A031347
|
|
|
| A031347 |
|
Multiplicative digital root of n (keep multiplying digits of n until reach a single digit). |
|
+0 24
|
|
| 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 2, 4, 6, 8, 0, 2, 4, 6, 8, 0, 3, 6, 9, 2, 5, 8, 2, 8, 4, 0, 4, 8, 2, 6, 0, 8, 6, 6, 8, 0, 5, 0, 5, 0, 0, 0, 5, 0, 0, 0, 6, 2, 8, 8, 0, 8, 8, 6, 0, 0, 7, 4, 2, 6, 5, 8, 8, 0, 8, 0, 8, 6, 8, 6, 0, 6, 0, 8, 4, 0, 9, 8, 4, 8, 0, 0, 8, 4, 8
(list; graph; listen)
|
|
|
OFFSET
|
0,3
|
|
|
LINKS
|
T. D. Noe, Table of n, a(n) for n=0..10000
Eric Weisstein's World of Mathematics, Link to a section of The World of Mathematics.
|
|
MATHEMATICA
|
mdr[n_] := NestWhile[Times @@ IntegerDigits@# &, n, UnsameQ, All]; Table[ mdr[n], {n, 0, 104}] (from Robert G. Wilson v (rgwv(at)rgwv.com), Aug 04 2006)
|
|
PROGRAM
|
(PARI) A031347(n)= { local(resul); if(n<10, return(n) ); resul = n % 10; n = (n - n%10)/10; while( n > 0, resul *= n %10; n = (n - n%10)/10; ); return(A031347(resul)); } { for(n=1, 80, print1(A031347(n), ", "); ); } - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), May 23 2006
|
|
CROSSREFS
|
Cf. A007954, A010888, A007953, A031346, A003001.
Sequence in context: A118943 A010879 A062078 this_sequence A087471 A128212 A007954
Adjacent sequences: A031344 A031345 A031346 this_sequence A031348 A031349 A031350
|
|
KEYWORD
|
nonn,base,easy,nice
|
|
AUTHOR
|
Eric Weisstein (eric(AT)weisstein.com)
|
|
|
Search completed in 0.002 seconds
|