|
Search: id:A100406
|
|
|
| A100406 |
|
a(n) = repeating period of the digital roots of the sequence {m^n, m=1,2,3...}. |
|
+0 1
|
|
| 1, 124875, 9, 147, 157842, 9, 174, 18, 9, 1, 124875, 9, 147, 157842, 9, 174, 18, 9, 1, 124875, 9, 147, 157842, 9, 174, 18, 9, 1, 124875, 9, 147, 157842, 9, 174, 18, 9, 1, 124875, 9, 147, 157842, 9, 174, 18, 9, 1, 124875, 9, 147, 157842, 9, 174, 18, 9, 1
(list; graph; listen)
|
|
|
OFFSET
|
0,2
|
|
|
COMMENT
|
Sequence has period 9.
|
|
EXAMPLE
|
The digital roots of 1^n are 1,1,1,1,1,1,.. so 1 is the repeating decimal
period for 1^n. The digital roots of 2^n are 1,2,4,8,7,5.. so 125875 is the
repeating decimal period for 2^n. The digital roots of 3^n are 1,3,9,9,9,9,..
so 9 is the repeating decimal period for 3^n.
|
|
PROGRAM
|
(PARI) f(n, m) = for(x=0, n, print1(droot(m^x)", ")) droot(n) = \ the digital root of a number. { local(x); x= n%9; if(x>0, return(x), return(9)) }
|
|
CROSSREFS
|
Sequence in context: A049358 A061734 A030639 this_sequence A048936 A133220 A023086
Adjacent sequences: A100403 A100404 A100405 this_sequence A100407 A100408 A100409
|
|
KEYWORD
|
easy,nonn,base
|
|
AUTHOR
|
Cino Hilliard (hillcino368(AT)gmail.com), Dec 31 2004
|
|
|
Search completed in 0.002 seconds
|