OFFSET
0,22
COMMENTS
a(n)=d(n) with n^n = Sum(d(k)*20^k: 0<=d(k)<20, k>=0).
LINKS
Eric Weisstein's World of Mathematics, Vigesimal
FORMULA
a(n) = floor(n^n / 20^n) mod 20.
EXAMPLE
n=30, 30^30=205891132094649*10^30 -> [93B83A81A7CBBA03C2241239C3C4840000000], a(30)=8.
a(0)=1, a(k)=0 for 0<k<20 and a(20)=1.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Sep 20 2003
STATUS
approved