%I #5 Oct 14 2021 19:20:02
%S 1,0,1,1,0,1,1,1,0,0,1,1,0,0,1,0,0,1,1,1,0,0,1,1,0,0,1,0,0,1,1,1,0,0,
%T 1,0,0,0,1,0,0,0,1,1,0,0,1,0,0,0,1,1,0,1,1,0,0,0,1,1,0,1,1,1,0,1,1,1,
%U 0,0,1,1,0,1,1,0,0,0,1,0,0,1,1,1,0,1,1,1,0,0,1,1,0,0,1,1,0,1,1,1,0,1
%N Value of n-th digit (counting from the right) in binary representation of n^n.
%C a(n)=d(n) with n^n = Sum(d(k)*2^k: 0<=d(k)<2, k>=0).
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/Binary.html">Binary</a>
%F a(n) = floor(n^n / 2^n) mod 2.
%e n=5, 5^5=3125 -> '110000110101', '1100001-----': a(5)=1.
%t Join[{1,0},Table[IntegerDigits[n^n,2][[-n-1]],{n,2,110}]] (* _Harvey P. Dale_, Oct 14 2021 *)
%Y Cf. A007088, A000312, A088151, A088152, A088153, A088154, A088155, A088156, A088157.
%K nonn,base
%O 0,1
%A _Reinhard Zumkeller_, Sep 20 2003
%E Definition clarified by _Harvey P. Dale_, Oct 14 2021
|