Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A007468
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A007468 Sum of next n primes.
(Formerly M1846)
+0
10
2, 8, 31, 88, 199, 384, 659, 1056, 1601, 2310, 3185, 4364, 5693, 7360, 9287, 11494, 14189, 17258, 20517, 24526, 28967, 33736, 38917, 45230, 51797, 59180, 66831, 75582, 84463, 95290, 106255, 117424, 129945, 143334, 158167, 173828, 190013 (list; graph; listen)
OFFSET

1,1

FORMULA

a(n)=p(1+n(n-1)/2)+...+p(n+n(n-1)/2), where p(i) is i-th prime.

EXAMPLE

a(1)=2 because "sum of next 1 prime" is 2, a(2)=8 because sum of next 2 primes is 3+5=8, a(3)=31 because sum of next 3 primes is 7+11+13=31, etc.

MATHEMATICA

a[n_] := Sum[Prime[i], {i, 1+n(n-1)/2, n+n(n-1)/2}]

CROSSREFS

Sequence in context: A054662 A036723 A026693 this_sequence A054137 A062456 A077838

Adjacent sequences: A007465 A007466 A007467 this_sequence A007469 A007470 A007471

KEYWORD

nonn,easy

AUTHOR

njas, Simon Plouffe (plouffe(AT)math.uqam.ca)

EXTENSIONS

More terms from Zak Seidov (zakseidov(AT)yahoo.com), Sep 21 2002

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 August 29 17:54 EDT 2008. Contains 143238 sequences.


AT&T Labs Research