OFFSET
0,14
COMMENTS
a(n)=d(n) with n^n = Sum(d(k)*12^k: 0<=d(k)<12, k>=0).
LINKS
Eric Weisstein's World of Mathematics, Duodecimal
FORMULA
a(n) = floor(n^n / 12^n) mod 12.
EXAMPLE
n=16, 16^16=18446744073709551616 -> [839365134A210240714], a(16)=3.
a(0)=1, a(k)=0 for 0<k<12 and a(12)=1.
MATHEMATICA
Join[{1}, Table[Mod[Floor[n^n/12^n], 12], {n, 100}]] (* Harvey P. Dale, Apr 17 2012 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Sep 20 2003
STATUS
approved