Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A112270
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A112270 One third of the sum of the first n primes, when an integer. +0
2
43, 127, 167, 213, 321, 387, 457, 531, 617, 709, 809, 1029, 1149, 1277, 1409, 1863, 2027, 2290, 3397, 3629, 4113, 4367, 4629, 4899, 5179, 5467, 5761, 6063, 6371, 7516, 7864, 8600, 8980, 9368, 10168, 10578, 11856, 12296, 12746, 13204, 13674, 14156 (list; graph; listen)
OFFSET

1,1

REFERENCES

Bach, E. and Shallit, J. Sect. 2.7 in Algorithmic Number Theory, Vol. 1: Efficient Algorithms. Cambridge, MA: MIT Press, 1996.

Moser, L. "Notes on Number Theory III. On the Sum of Consecutive Primes." Can. Math. Bull. 6, 159-161, 1963.

H. L. Nelson, "Prime Sums", J. Rec. Math., 14 (1981), 205-206.

LINKS

Eric Weisstein's World of Mathematics, Prime Sums.

FORMULA

{a(n)} = {A007504(k)/3 iff 3 | A007504(k)}. {a(n)} = {(p_1 + p_2 + ... + p_k)/3 iff the sum is an integer}. It is necessary but not sufficient for k to be even.

EXAMPLE

a(1) = 43 = (2+3+5+7+11+13+17+19+23+29)/3 = A007504(10)/3 = 129/3.

a(2) = 127 = A007504(16)/3 = 381/3.

a(3) = 167 = A007504(18)/3 = 501/3.

a(4) = 213 = A007504(20)/3 = 639/3.

a(5) = 321 = A007504(24)/3 = 963/3.

a(6) = 387 = A007504(26)/3 = 1161/3.

MATHEMATICA

s = 0; lst = {}; Do[s = s + Prime[n]; If[Mod[s, 3] == 0, AppendTo[lst, s/3]], {n, 130}]; lst (* Robert G. Wilson v *)

CROSSREFS

Cf. A000040, A007504, A112040.

Sequence in context: A029816 A044294 A044675 this_sequence A124826 A136069 A140028

Adjacent sequences: A112267 A112268 A112269 this_sequence A112271 A112272 A112273

KEYWORD

easy,nonn

AUTHOR

Jonathan Vos Post (jvospost2(AT)yahoo.com), Nov 30 2005

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(at)rgwv.com), Nov 30 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 26 13:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research