OFFSET
1,1
COMMENTS
The n-th prime is a term iff A100714(n)=5.
LINKS
Eric Weisstein's World of Mathematics, Run-Length Encoding.
EXAMPLE
a(3)=43 is a term because it is the 3rd prime whose binary representation splits into exactly five runs. 43_10 = 101011_2 splits into {{1}, {0}, {1}, {0}, {1,1}}.
MATHEMATICA
Select[Table[Prime[k], {k, 1, 50000}], Length[Split[IntegerDigits[ #, 2]]] == 5 &]
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Joseph Biberstine (jrbibers(AT)indiana.edu), Dec 11 2004
STATUS
approved