|
Search: id:A095375
|
|
|
| A095375 |
|
Total number of 1's in the binary expansions of the first n primes: summatory A014499. |
|
+0 3
|
|
| 1, 3, 5, 8, 11, 14, 16, 19, 23, 27, 32, 35, 38, 42, 47, 51, 56, 61, 64, 68, 71, 76, 80, 84, 87, 91, 96, 101, 106, 110, 117, 120, 123, 127, 131, 136, 141, 145, 150, 155, 160, 165, 172, 175, 179, 184, 189, 196, 201, 206, 211, 218, 223, 230, 232, 236, 240, 245, 249, 253
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
EXAMPLE
|
n=4: first 4 primes={10,11,101,111},with a[4]=8 digit of 1.
|
|
MATHEMATICA
|
lib[x_] :=Count[IntegerDigits[x, 2], 1] {s=0, ta=Table[0, {256}]}; Do[s=s+lib[Prime[n]]; ta[[n]]=s, {n, 1, 256}] ta
|
|
CROSSREFS
|
Cf. A000120, A000788, A014499, A079584.
Sequence in context: A047622 A079392 A022852 this_sequence A129260 A076829 A084505
Adjacent sequences: A095372 A095373 A095374 this_sequence A095376 A095377 A095378
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Labos E. (labos(AT)ana.sote.hu), Jun 07 2004
|
|
|
Search completed in 0.002 seconds
|