login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A167788 Triangular numbers which are sums of three consecutive primes. 6
10, 15, 1891, 3403, 10153, 13861, 20503, 27261, 56953, 77815, 87571, 89253, 99681, 121771, 144991, 218791, 224785, 354061, 392941, 606651, 693253, 761995, 765703, 802011, 874503, 1017451, 1038961, 1091503, 1269621, 1348903, 1428895, 1468041 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Intersection of A000217 (Triangular numbers) and A034961 (Sums of three consecutive primes).

LINKS

Chai Wah Wu, Table of n, a(n) for n = 1..10000 (n = 1..1390 from Donovan Johnson)

FORMULA

a(n) = A000217(A226145(n)). - Michel Marcus, Feb 12 2018

MATHEMATICA

Select[Table[Prime[n]+Prime[n+1]+Prime[n+2], {n, 8!}], IntegerQ[Sqrt[1+8# ]]&] (* Vladimir Joseph Stephan Orlovsky, Feb 18 2010 *)

PROG

(MAGMA) [ t: n in [1..40000] | IsSquare(8*t+1) where t is &+[NthPrime(n+s): s in [0, 1, 2]] ]; // Bruno Berselli, Apr 28 2011

CROSSREFS

Cf. A000217, A034961.

Cf. A226145 (corresponding indices), A226148 (the smallest of the 3 consecutive primes).

Sequence in context: A134515 A232608 A175335 * A341012 A072968 A072138

Adjacent sequences:  A167785 A167786 A167787 * A167789 A167790 A167791

KEYWORD

nonn

AUTHOR

Zak Seidov, Nov 12 2009

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 15 13:37 EDT 2021. Contains 342977 sequences. (Running on oeis4.)