(Translated by https://www.hiragana.jp/)
A027867 - OEIS
The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A027867 Primes of the form n^2 + (n+1)^2 + (n+2)^2 + (n+3)^2 + (n+4)^2 + (n+5)^2. 6
139, 199, 271, 811, 1279, 1459, 2539, 2791, 3331, 3919, 4231, 7159, 8011, 9859, 15319, 17191, 17839, 20551, 24979, 25759, 41851, 42859, 48079, 58231, 59419, 65539, 68071, 74611, 88591, 102199, 125299, 132331, 143239, 154579, 156511, 166351, 170371, 172399, 243631, 276079, 281251, 289099, 294391 (list; graph; refs; listen; history; text; internal format)
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
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
Cf. A027866.
Sequence in context: A016067 A142524 A108383 * A140019 A107206 A256601
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Robert Israel, Jul 18 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 14 01:54 EDT 2024. Contains 373391 sequences. (Running on oeis4.)