%I #10 Feb 02 2019 02:40:12
%S 3,53,89,283,383,1013,1783,3793,6199,12527,17573,23819,25583,31393,
%T 40423,42923,81373,111893,132347,155153,161237,187163,208333,391403,
%U 500363,597859,658873,674749,944369,1113773,1302313,1538569,2607097
%N Primes of the form (2*k^3 + 3*k^2 + k - 12)/6.
%C Primes of the form A000330(k) - 2. - _Michel Marcus_, Jan 29 2019
%H G. C. Greubel, <a href="/A178608/b178608.txt">Table of n, a(n) for n = 1..10000</a>
%t s=0;lst={};Do[s+=n^2;If[PrimeQ[p=s-2],AppendTo[lst,p]],{n,1,6!}];lst
%Y Cf. A000330.
%K nonn,easy
%O 1,1
%A _Vladimir Joseph Stephan Orlovsky_, May 30 2010
|