login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A100724 Prime numbers whose binary representations are split into a maximum of 3 runs. 0
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 47, 59, 61, 67, 71, 79, 97, 103, 113, 127, 131, 191, 193, 199, 223, 227, 239, 241, 251, 257, 263, 271, 383, 449, 463, 479, 487, 499, 503, 509, 769, 911, 967, 991, 1009, 1019, 1021, 1031, 1039, 1087, 1151, 1279, 1543, 1567 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

The n-th prime is a member iff A100714(n)<=3

LINKS

Eric Weisstein's World of Mathematics, "Run-Length Encoding."

EXAMPLE

a(3)=5 is a member because it is the 3rd prime whose binary representation splits into less than 3 runs. 5_10=101_2

MATHEMATICA

Select[Table[Prime[k], {k, 1, 50000}], Length[Split[IntegerDigits[ #, 2]]] <= 3 &]

CROSSREFS

Cf. A100714, A000040.

Sequence in context: A002267 A178762 A051750 * A100110 A095323 A100370

Adjacent sequences:  A100721 A100722 A100723 * A100725 A100726 A100727

KEYWORD

base,nonn

AUTHOR

Joseph Biberstine (jrbibers(AT)indiana.edu), Dec 11 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 09:41 EST 2012. Contains 206009 sequences.