login
A046279
Sum of first n lucky numbers.
5
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
OFFSET
1,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. - Jonathan Vos Post, Feb 11 2010
LINKS
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] (* Harvey P. Dale, Apr 05 2011 *)
CROSSREFS
Sequence in context: A301084 A363598 A212959 * A301074 A345118 A090541
KEYWORD
nonn
AUTHOR
Patrick De Geest, Jun 15 1998
EXTENSIONS
Offset 1 from Michel Marcus, Oct 10 2019
STATUS
approved