login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A088150 Value of n-th digit (counting from the right) in binary representation of n^n. 7

%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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 09:48 EDT 2024. Contains 371905 sequences. (Running on oeis4.)