login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A034961 Sums of three consecutive primes. 42
10, 15, 23, 31, 41, 49, 59, 71, 83, 97, 109, 121, 131, 143, 159, 173, 187, 199, 211, 223, 235, 251, 269, 287, 301, 311, 319, 329, 349, 371, 395, 407, 425, 439, 457, 471, 487, 503, 519, 533, 551, 565, 581, 589, 607, 633, 661, 679, 689, 701, 713, 731, 749, 771 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

For prime terms see A034962. - Zak Seidov, Feb 17 2011

LINKS

Zak Seidov, Table of n, a(n) for n = 1..1000

EXAMPLE

E.g. 565 = 181 + 191 + 193.

MATHEMATICA

Plus @@@ Partition[ Prime[ Range[60]], 3, 1] (* Robert G. Wilson v, Feb 11 2005 *)

PROG

(Sage) BB = primes_first_n(57) list = [] for i in range(55): list.append(BB[i]+BB[i+1]+BB[i+2]) list # Zerinvary Lajos, May 14 2007

(MAGMA) [&+[ NthPrime(n+k): k in [0..2] ]: n in [1..50] ]; // Vincenzo Librandi, Apr 03 2011

(PARI) a(n)=my(p=prime(n), q=nextprime(p+1)); p+q+nextprime(q+1) \\ Charles R Greathouse IV, Jul 01 2013

CROSSREFS

Cf. A001043, A011974, A034707, A034962.

Sequence in context: A267329 A120138 A050200 * A207637 A171444 A227371

Adjacent sequences:  A034958 A034959 A034960 * A034962 A034963 A034964

KEYWORD

nonn,easy

AUTHOR

Patrick De Geest, Oct 15 1998

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified April 28 18:26 EDT 2017. Contains 285579 sequences.