OFFSET
1,1
COMMENTS
Primes of the form 3k^2 + 42k + 245. - Charles R Greathouse IV, Aug 14 2013
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
461 is a term since 4^2 + 11^2 + 18^2 = 461;
773 is a term since 8^2 + 15^2 + 22^2 = 773;
1181 is a term since 12^2 + 19^2 + 26^2 = 1181;
1973 is a term since 18^2 + 25^2 + 32^2 = 1973.
MAPLE
for x in range(1, 2000): b=x**2 : c= (x+7)**2: d=(x+14)**2:e=(b+c+d): print x, e
MATHEMATICA
Select[Table[Total[(n+{0, 7, 14})^2], {n, 500}], PrimeQ] (* Harvey P. Dale, Jun 10 2021 *)
PROG
(PARI) for(n=1, 1e3, if(isprime(t=3*(n+7)^2+98), print1(t", "))) \\ Charles R Greathouse IV, Aug 14 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Will Gosnell, Aug 14 2013
EXTENSIONS
a(14)-a(38) from Charles R Greathouse IV, Aug 14 2013
Name clarified by Jon E. Schoenfield, Apr 01 2019
STATUS
approved