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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A090046 Length of longest contiguous block of 0's in binary expansion of n-th prime. 4
1, 0, 1, 0, 1, 1, 3, 2, 1, 1, 0, 2, 2, 1, 1, 1, 1, 1, 4, 3, 2, 2, 2, 2, 4, 2, 2, 1, 1, 3, 0, 5, 3, 3, 2, 2, 2, 3, 2, 1, 2, 1, 1, 5, 3, 3, 2, 1, 3, 2, 2, 1, 3, 1, 7, 5, 4, 4, 3, 3, 3, 2, 2, 2, 2, 2, 2, 3, 1, 1, 4, 2, 1, 1, 1, 1, 4, 3, 3, 2, 3, 2, 1, 3, 1, 1, 5, 2, 2, 2, 2, 1, 2, 1, 2, 1, 1, 5, 5, 4, 3, 3, 3, 3, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,7

COMMENTS

a(n) = A087117(A000040(n)).

LINKS

Table of n, a(n) for n=1..105.

MATHEMATICA

f[n_] := Length[ Union[ DeleteCases[ Split[ IntegerDigits[n, 2]], 1, 2]][[ -1]]]; Table[ f[ Prime[n]], {n, 1, 105}] (* Robert G. Wilson v, Dec 03 2003 *)

CROSSREFS

Cf. A023416, A004676, A090047, A090048, A090049, A090000.

Sequence in context: A109865 A206713 A096874 * A202551 A129267 A199324

Adjacent sequences:  A090043 A090044 A090045 * A090047 A090048 A090049

KEYWORD

nonn,base

AUTHOR

Reinhard Zumkeller, Nov 20 2003

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 19 20:41 EDT 2019. Contains 323410 sequences. (Running on oeis4.)