OFFSET
0,18
COMMENTS
a(n)=d(n) with n^n = Sum(d(k)*16^k: 0<=d(k)<16, k>=0).
LINKS
Eric Weisstein's World of Mathematics, Hexadecimal
FORMULA
a(n) = floor(n^n / 16^n) mod 16.
EXAMPLE
n=20, 20^20=1048576*10^20 -> [56BC75E2D6310000000000], a(20)=6.
a(0)=1, a(k)=0 for 0<k<16 and a(16)=1.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Sep 20 2003
STATUS
approved