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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A014499 Number of 1's in binary representation of n-th prime. 32
1, 2, 2, 3, 3, 3, 2, 3, 4, 4, 5, 3, 3, 4, 5, 4, 5, 5, 3, 4, 3, 5, 4, 4, 3, 4, 5, 5, 5, 4, 7, 3, 3, 4, 4, 5, 5, 4, 5, 5, 5, 5, 7, 3, 4, 5, 5, 7, 5, 5, 5, 7, 5, 7, 2, 4, 4, 5, 4, 4, 5, 4, 5, 6, 5, 6, 5, 4, 6, 6, 4, 6, 7, 6, 7, 8, 4, 5, 4, 5, 5, 5, 7, 5, 7, 7, 4, 5, 6, 7, 6, 8, 7, 7, 7, 8, 8, 3, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

a(n)=A000120(A000040(n)).

a(A049084(A061712(n))) = n. - Reinhard Zumkeller, Feb 10 2013

LINKS

T. D. Noe, Table of n, a(n) for n=1..10000

MATHEMATICA

f[n_]:=Plus@@IntegerDigits[n, 2]; lst={}; Do[p=Prime[n]; AppendTo[lst, f[p]], {n, 6!}]; lst [From Vladimir Joseph Stephan Orlovsky, Oct 10 2009]

PROG

(PARI) A014499(n)=norml2(binary(prime(n))) [From M. F. Hasler, Nov 20 2009]

(Haskell)

a014499 = a000120 . a000040  -- Reinhard Zumkeller, Feb 10 2013

CROSSREFS

Cf. A035103, A035100, A004676, A090455.

Cf. A027697, A027699

Cf. A180024. [From Reinhard Zumkeller, Aug 08 2010]

Cf. A072084.

Sequence in context: A108133 A194883 A175453 * A055778 A106482 A122462

Adjacent sequences:  A014496 A014497 A014498 * A014500 A014501 A014502

KEYWORD

nonn,base,easy

AUTHOR

Ingemar Assarsjo (ingemar(AT)binomen.se)

STATUS

approved

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 May 25 23:56 EDT 2013. Contains 225650 sequences.