login
Value of n-th digit in hexadecimal representation of n^n.
7

%I #4 Mar 30 2012 18:50:38

%S 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,8,10,6,14,15,8,2,0,0,13,11,5,8,6,

%T 0,12,6,0,12,1,11,2,4,11,11,3,15,8,4,10,1,14,1,14,0,6,0,5,14,12,9,9,1,

%U 4,2,1,0,10,7,15,4,10,15,3,13,1,12,7,15,14,4,7,1,14,8,5,8,4,9,9,13,6

%N Value of n-th digit in hexadecimal representation of n^n.

%C a(n)=d(n) with n^n = Sum(d(k)*16^k: 0<=d(k)<16, k>=0).

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/Hexadecimal.html">Hexadecimal</a>

%F a(n) = floor(n^n / 16^n) mod 16.

%e n=20, 20^20=1048576*10^20 -> [56BC75E2D6310000000000], a(20)=6.

%e a(0)=1, a(k)=0 for 0<k<16 and a(16)=1.

%Y Cf. A000312, A088150, A088151, A088152, A088153, A088154, A088156, A088157.

%K nonn,base

%O 0,18

%A _Reinhard Zumkeller_, Sep 20 2003