login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A182155
Integers of the form: 0/3 + 1/3 + 2/3 + 3/3 + 5/3 + 7/3 + 11/3 + 13/3 + 17/3 + ....
1
0, 1, 2, 6, 14, 26, 66, 94, 147, 264, 663, 759, 916, 1089, 1213, 1343, 1554, 1706, 2113, 2473, 2661, 2861, 3069, 3285, 3513, 3747, 3989, 4497, 4763, 5039, 5323, 5911, 6217, 6527, 6849, 7179, 7690, 8227, 8790, 9566, 9966, 10995, 11423, 12076, 12974, 13438
OFFSET
1,3
COMMENTS
Numbers k such that the sum of first n nonnegative noncomposite numbers is equal to 3k.
LINKS
EXAMPLE
1/3 + 2/3 = 1, 1/3 + 2/3 + 3/3 = 2, 1/3 + 2/3 + 3/3 + 5/3 + 7/3 = 6.
MATHEMATICA
s = 1; t = {0}; Do[s = s + Prime[n]; If[Mod[s, 3] == 0, AppendTo[t, s/3]], {n, 200}]; t (* T. D. Noe, Apr 18 2012 *)
Select[Accumulate[Join[{0, 1/3}, Prime[Range[200]]/3]], IntegerQ] (* Harvey P. Dale, Mar 06 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Gerasimov Sergey, Apr 15 2012
EXTENSIONS
Definition corrected by Harvey P. Dale, Mar 06 2016
STATUS
approved