OFFSET
1,1
COMMENTS
Primes of form 55 + 30n + 6n^2. - Zak Seidov, May 20 2014
All terms == 1 or 19 (mod 30). - Robert Israel, Jul 18 2017
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
P. De Geest, World!Of Numbers
FORMULA
a(n) = 55 + 30*m + 6*m^2 where m = A027866(n). - Zak Seidov, May 20 2014
MAPLE
select(isprime, [seq(6*t^2-30*t+55, t=6..1000)]); # Robert Israel, Jul 18 2017
MATHEMATICA
lst={}; Do[a=n^2+(n+1)^2+(n+2)^2+(n+3)^2+(n+4)^2+(n+5)^2; If[PrimeQ[a], AppendTo[lst, a]], {n, 8!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jun 02 2009 *)
Select[Table[Total[(n+Range[0, 5])^2], {n, 200}], PrimeQ] (* Harvey P. Dale, Jul 18 2011 *)
Select[Total/@Partition[Range[300]^2, 6, 1], PrimeQ] (* Harvey P. Dale, Jul 23 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Robert Israel, Jul 18 2017
STATUS
approved