OFFSET
1,1
COMMENTS
Primes of the form A000292(k)-2.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
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
Select[Table[(n(n+1)(n+2))/6-2, {n, 500}], PrimeQ] (* Harvey P. Dale, Jul 29 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Jul 16 2009
EXTENSIONS
Definition rephrased by R. J. Mathar, Jul 27 2009
STATUS
approved