Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A082277
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A082277 Smallest prime that is the sum of prime(n) consecutive primes. +0
1
5, 23, 53, 197, 233, 691, 499, 857, 1151, 2099, 2399, 2909, 3821, 4217, 5107, 6079, 10091, 8273, 12281, 11597, 12713, 15527, 22741, 26041, 25759, 37447, 28087, 36607, 36067, 35527, 42463, 46181, 49279, 65033, 67271, 71011, 71167, 76099, 78139 (list; graph; listen)
OFFSET

1,1

FORMULA

Sum of reciprocals converges to .28053...

EXAMPLE

For prime 3

2+3+5 = 10

3+5+7 = 15

5+7+11 = 23

7+11+13= 31

so 5+7+11 = 23 is the first prime that is the sum of 3 consecutive primes.

PROGRAM

(PARI) \ First prime in the sum of a prime number of consecutive primes psum1pprm(n) = { sr=.2; print1(5" "); forprime(i=2, n, 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

Adjacent sequences: A082274 A082275 A082276 this_sequence A082278 A082279 A082280

Sequence in context: A127200 A140811 A090686 this_sequence A019267 A053664 A092544

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