OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
In binary representation 80 = '1010000' has five 0's and A000040(80) = 409 = '110011001' has five 1's: therefore 409 is a term.
MATHEMATICA
With[{m = 600}, Select[Transpose[{Range[m], Prime[Range[m]]}], DigitCount[First[#], 2, 0] == DigitCount[Last[#], 2, 1] &]][[;; , 2]] (* Amiram Eldar, Jul 28 2025 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Reinhard Zumkeller, Jun 23 2002
STATUS
approved
