|
| |
|
|
A046279
|
|
Sum of first n lucky numbers.
|
|
0
| |
|
|
1, 4, 11, 20, 33, 48, 69, 94, 125, 158, 195, 238, 287, 338, 401, 468, 537, 610, 685, 764, 851, 944, 1043, 1148, 1259, 1374, 1501, 1630, 1763, 1898, 2039, 2190, 2349, 2512, 2681, 2852, 3041, 3234, 3429, 3630, 3835, 4046, 4265, 4488, 4719, 4954, 5191, 5432
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,2
|
|
|
COMMENTS
| The subsequence of prime partial sums of lucky numbers begins: 11, 401, 1259, 2039. The subsequence of lucky partial sums of lucky numbers begins: 33, 69, 195, 537, 685, 1501, 5191. [From Jonathan Vos Post (jvospost3(AT)gmail.com), Feb 11 2010]
|
|
|
MATHEMATICA
| luckyLimit = 300; t = Range[1, luckyLimit, 2]; sieve[n_] := Module[{k = t[[n]]}, t = Delete[t, Table[{i}, {i, k, Length[t], k}]]]; n = 1; While[t[[n]] < Length[t], n++; sieve[n]]; Accumulate[t] (* From Harvey P. Dale, Apr 05 2011 *)
|
|
|
CROSSREFS
| Cf. A007504, A000959.
Sequence in context: A038432 A024982 A038425 * A090541 A038426 A008235
Adjacent sequences: A046276 A046277 A046278 * A046280 A046281 A046282
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Patrick De Geest (pdg(AT)worldofnumbers.com), Jun 15 1998.
|
| |
|
|