login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A175609 The difference between maximal run length and minimal run length in binary representation of n-th prime. 0
0, 0, 0, 0, 1, 1, 2, 1, 2, 2, 0, 1, 1, 1, 3, 1, 2, 3, 3, 2, 1, 3, 1, 1, 3, 1, 1, 1, 1, 2, 0, 4, 2, 2, 1, 2, 2, 2, 2, 1, 1, 1, 5, 4, 2, 1, 1, 4, 1, 2, 2, 3, 3, 4, 6, 4, 3, 3, 2, 2, 2, 1, 1, 2, 2, 3, 1, 2, 1, 2, 3, 2, 3, 2, 3, 6, 3, 2, 2, 1, 2, 1, 3, 2, 2, 2, 4, 2, 2, 2, 2, 4, 2, 3, 3, 4, 6, 4, 4, 3, 2, 2, 2, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,7
LINKS
FORMULA
a(n)=A175599(A000040(n)).
MATHEMATICA
rl[n_]:=Module[{spl=Length/@Split[IntegerDigits[Prime[n], 2]]}, Max[spl]- Min[spl]]; rl/@Range[110] (* Harvey P. Dale, Jul 27 2011 *)
CROSSREFS
Sequence in context: A152196 A024375 A025075 * A038717 A073267 A159981
KEYWORD
nonn
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 26 03:34 EDT 2024. Contains 375454 sequences. (Running on oeis4.)