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!)
A162904 Primes 2 less than a tetrahedral number. 1
2, 163, 967, 4493, 9137, 32507, 39709, 47903, 67523, 176849, 221813, 708559, 1543463, 1726667, 2481113, 2997409, 3428423, 3737579, 4410547, 4775383, 5774273, 6209893, 6903563, 9001627, 9585343, 10507397, 11153833, 15596033 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Primes of the form A000292(k)-2.

LINKS

Robert Israel, Table of n, a(n) for n = 1..10000

EXAMPLE

2 = 4-2 = A000292(2)-2. 163 = 165-2 = A000292(9)-2. 967 = 969-2 = A000292(17)-2.

MAPLE

select(isprime, [seq(n*(n+1)*(n+2)/6-2, n=1..10^3)]); # Robert Israel, Jun 27 2019

MATHEMATICA

s1=s2=0; lst={}; Do[s2+=s1+=n; If[PrimeQ[s2-2], AppendTo[lst, s2-2]], {n, 2*6!}]; lst

CROSSREFS

Cf. A000292.

Sequence in context: A202107 A300363 A109420 * A259319 A230912 A339009

Adjacent sequences:  A162901 A162902 A162903 * A162905 A162906 A162907

KEYWORD

nonn

AUTHOR

Vladimir Joseph Stephan Orlovsky, Jul 16 2009

EXTENSIONS

Definition rephrased by R. J. Mathar, Jul 27 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 February 27 05:37 EST 2021. Contains 341649 sequences. (Running on oeis4.)