|
| |
|
|
A113018
|
|
{Digital root of n} raised to the power {number of digits of n}.
|
|
2
| |
|
|
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 4, 9, 16, 25, 36, 49, 64, 81, 1, 4, 9, 16, 25, 36, 49, 64, 81, 1, 4, 9, 16, 25, 36, 49, 64, 81, 1, 4, 9, 16, 25, 36, 49, 64, 81, 1, 4, 9, 16, 25, 36, 49, 64, 81, 1, 4, 9, 16, 25, 36, 49, 64, 81, 1, 4, 9, 16, 25, 36, 49, 64, 81, 1
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,3
|
|
|
COMMENTS
| Fixed points are: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and 81.
|
|
|
LINKS
| Nathaniel Johnston, Table of n, a(n) for n = 0..10000
|
|
|
FORMULA
| a(ijk...)[m digits ijk...]=(i+j+k+...)[1 digit]^m
|
|
|
EXAMPLE
| a(9)=9^1=9
a(19)=(1+9=10 => 1+0) = 1^2=1
a(85)=(8+5=13 => 1+3) = 4^2=16
|
|
|
MAPLE
| A113018 := proc(n) if(n=0)then return 0:fi: return (((n-1) mod 9) + 1)^length(n): end: seq(A113018(n), n=0..100); # Nathaniel Johnston, May 05 2011
|
|
|
CROSSREFS
| Cf. A101337, A113019.
Sequence in context: A061486 A138470 A112875 * A113009 A068064 A152147
Adjacent sequences: A113015 A113016 A113017 * A113019 A113020 A113021
|
|
|
KEYWORD
| base,easy,nonn
|
|
|
AUTHOR
| Alexandre Wajnberg (alexandre.wajnberg(AT)skynet.be), Jan 03 2006
|
| |
|
|