|
Search: id:A061802
|
|
|
| A061802 |
|
Sum of n-th row of triangle of primes: 2; 2 3 2; 2 3 5 3 2; 2 3 5 7 5 3 2; ...; where n-th row contains 2n+1 terms. |
|
+0 2
|
|
| 2, 7, 15, 27, 45, 69, 99, 135, 177, 229, 289, 357, 435, 519, 609, 709, 821, 941, 1069, 1207, 1351, 1503, 1665, 1837, 2023, 2221, 2425, 2635, 2851, 3073, 3313, 3571, 3839, 4115, 4403, 4703, 5011, 5331, 5661, 6001, 6353, 6713, 7085, 7469, 7859, 8255, 8665
(list; graph; listen)
|
|
|
OFFSET
|
0,1
|
|
|
LINKS
|
Harry J. Smith, Table of n, a(n) for n=0,...,1000
|
|
FORMULA
|
a(n) = a(n-1) + p(n) + p(n-1) where p(n) = n-th prime.
a(n) =A007504(n)+A007504(n+1) so asymptotic expression: a(n)~n^2*log(n) - Henry Bottomley (se16(AT)btinternet.com), May 30 2001
|
|
PROGRAM
|
(PARI) { n=-1; a=q=0; forprime (p=2, prime(1001), write("b061802.txt", n++, " ", a+=p + q); q=p ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jul 28 2009]
|
|
CROSSREFS
|
Adjacent sequences: A061799 A061800 A061801 this_sequence A061803 A061804 A061805
Sequence in context: A029888 A005449 A113422 this_sequence A003452 A000148 A147672
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
Amarnath Murthy (amarnath_murthy(AT)yahoo.com), May 28 2001
|
|
EXTENSIONS
|
More terms from Larry Reeves (larryr(AT)acm.org), May 29 2001
|
|
|
Search completed in 0.002 seconds
|