Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A058871
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A058871 Sum of next n primes (A007468) is prime for odd n or half the sum is prime for even n. +0
1
1, 3, 5, 7, 9, 13, 18, 20, 23, 25, 29, 48, 55, 98, 117, 119, 123, 130, 173, 187, 193, 198, 205, 213, 218, 223, 248, 249, 255, 259, 265, 268, 285, 292, 299, 311, 329, 346, 351, 386, 390, 393, 397, 411, 412, 448, 483, 487, 513, 515, 525, 554, 563, 574, 587, 597 (list; graph; listen)
OFFSET

1,2

COMMENT

Do[ s = Sum[ Prime[i], {i, n(n-1)/2 + 1, n(n+1)/2} ]; If[ PrimeQ[s] || PrimeQ[s/2], Print[n] ], {n, 1, 10^3} ]

CROSSREFS

Cf. A007468.

Sequence in context: A003543 A114513 A003524 this_sequence A121259 A089228 A126278

Adjacent sequences: A058868 A058869 A058870 this_sequence A058872 A058873 A058874

KEYWORD

nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Jan 06 2001

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 September 5 01:44 EDT 2008. Contains 143476 sequences.


AT&T Labs Research