login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A014499 represented in binary.
1

%I #6 Nov 09 2019 01:18:07

%S 1,10,10,11,11,11,10,11,100,100,101,11,11,100,101,100,101,101,11,100,

%T 11,101,100,100,11,100,101,101,101,100,111,11,11,100,100,101,101,100,

%U 101,101,101,101,111,11,100,101,101,111,101,101,101,111,101,111,10

%N A014499 represented in binary.

%H Andrew Howroyd, <a href="/A162720/b162720.txt">Table of n, a(n) for n = 1..1000</a>

%F a(n) = A007088(A014499(n)). - _Andrew Howroyd_, Nov 08 2019

%e The 5th prime number is 11. The binary representation of 11 is 1011. There are 3 "1s" in 1011. 3 in binary is 11, so a(5)=3.

%o (PARI) a(n)={fromdigits(digits(hammingweight(prime(n)), 2))} \\ _Andrew Howroyd_, Nov 08 2019

%Y Cf. A007088, A014499.

%K base,nonn

%O 1,2

%A _Ben Branman_, Jul 11 2009

%E Terms a(32) and beyond from _Andrew Howroyd_, Nov 08 2019