A088154 Value of n-th digit in duodecimal representation of n^n.
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 8, 4, 3, 0, 1, 0, 3, 2, 3, 9, 4, 7, 5, 4, 3, 7, 4, 6, 5, 4, 10, 4, 9, 1, 7, 5, 4, 8, 4, 11, 2, 4, 0, 8, 4, 10, 7, 6, 5, 8, 6, 9, 3, 1, 8, 7, 1, 6, 0, 8, 8, 2, 1, 8, 1, 5, 10, 0, 0, 6, 5, 10, 11, 11, 7, 7, 1, 10, 2, 3, 1, 0, 4, 10, 8, 5, 7, 6, 11, 2, 6, 1, 4, 0
Offset: 0
Examples
n=16, 16^16=18446744073709551616 -> [839365134A210240714], a(16)=3. a(0)=1, a(k)=0 for 0<k<12 and a(12)=1.
Links
- Eric Weisstein's World of Mathematics, Duodecimal
Programs
-
Mathematica
Join[{1},Table[Mod[Floor[n^n/12^n],12],{n,100}]] (* Harvey P. Dale, Apr 17 2012 *)
Formula
a(n) = floor(n^n / 12^n) mod 12.
Comments