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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A035100 Number of bits in binary expansion of n-th prime. 10
2, 2, 3, 3, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9 (list; graph; refs; listen; history; internal format)
OFFSET

0,1

MAPLE

Digits := 40: [ seq(1+floor(evalf(log(ithprime(n))/log(2))), n=1..100) ];

MATHEMATICA

f[n_]:=Length[IntegerDigits[Prime[n], 2]]; Table[f[n], {n, 5!}] [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Feb 07 2010]

CROSSREFS

Cf. A000523, A029837.

Sequence in context: A137791 A096125 A140828 * A085089 A069924 A082479

Adjacent sequences:  A035097 A035098 A035099 * A035101 A035102 A035103

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

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 16 02:29 EST 2012. Contains 205860 sequences.