Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A082244
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A082244 Smallest odd prime that is the sum of 2n+1 consecutive primes. +0
2
3, 23, 53, 197, 127, 233, 691, 379, 499, 857, 953, 1151, 1259, 1583, 2099, 2399, 2417, 2579, 2909, 3803, 3821, 4217, 4651, 5107, 5813, 6829, 6079, 6599, 14153, 10091, 8273, 10163, 9521, 12281, 13043, 11597, 12713, 13099, 16763, 15527, 16823, 22741 (list; graph; listen)
OFFSET

0,1

FORMULA

The sum of the reciprocals = 0.4304...

EXAMPLE

For n = 2,

2+3+5+7+11=28

3+5+7+11+13=39

5+7+11+13+17=53

so 53 is the first prime that is the sum of 5 consecutive primes

PROGRAM

(PARI) \ First prime that the sum of an odd number of consecutive primes psumprm(n) = { sr=0; forstep(i=1, n, 2, s=0; for(j=1, i, s+=prime(j); ); for(x=1, n, s = s - prime(x)+ prime(x+i); if(isprime(s), sr+=1.0/s; print1(s" "); break); ); ); print(); print(sr) }

CROSSREFS

See A070934 for another version.

Adjacent sequences: A082241 A082242 A082243 this_sequence A082245 A082246 A082247

Sequence in context: A107169 A032003 A031907 this_sequence A143853 A141047 A003531

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), May 09 2003

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 October 11 13:47 EDT 2008. Contains 144830 sequences.


AT&T Labs Research