OFFSET
1,1
COMMENTS
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000
Vladimir Shevelev, Two analogs of Thue-Morse sequence, arXiv:1603.04434 [math.NT], 2016.
MATHEMATICA
Select[Prime@ Range@ 108, OddQ@ Length[Split@ IntegerDigits[#, 2] /. {0, ___} -> Nothing] &] (* Michael De Vlieger, Feb 08 2016 *)
PROG
(Python)
from sympy import prime
A268477_list = [p for p in (prime(i) for i in range(1, 10**6)) if len(list(filter(bool, format(p, 'b').split('0')))) % 2] # Chai Wah Wu, Mar 01 2016
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Vladimir Shevelev, Feb 05 2016
EXTENSIONS
More terms from Peter J. C. Moses, Feb 05 2016
STATUS
approved