login
A072578
In binary representation: k has the same number of 0's as the k-th prime has 1's.
5
8, 16, 34, 44, 64, 65, 80, 106, 116, 128, 138, 140, 174, 178, 184, 193, 196, 209, 258, 259, 260, 263, 264, 266, 272, 280, 288, 290, 314, 316, 325, 326, 327, 328, 330, 338, 344, 385, 391, 402, 449, 514, 520, 521, 528, 544, 566, 570, 574, 578, 587, 590, 597
OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Harvey P. Dale)
FORMULA
A000120(A072581(n)) = A023416(a(n)) = A014499(n).
a(n) = A049084(A072581(n)).
EXAMPLE
In binary representation 80 = '1010000' has five 0's and A000040(80) = 409 = '110011001' has five 1's: therefore 80 is a term.
MATHEMATICA
Select[Range[600], DigitCount[#, 2, 0]==DigitCount[Prime[#], 2, 1]&] (* Harvey P. Dale, Jan 07 2014 *)
KEYWORD
nonn,base,easy
AUTHOR
Reinhard Zumkeller, Jun 23 2002
STATUS
approved