login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual appeal: Please make a donation to keep the OEIS running! Over 6000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A027864 Primes of form n^2 + (n+1)^2 + (n+2)^2. 10
5, 29, 149, 509, 677, 1877, 3677, 8429, 9749, 11909, 13469, 17789, 22709, 27077, 28229, 45389, 46877, 53069, 70229, 72077, 81677, 100469, 102677, 114077, 128549, 141269, 154589, 180077, 192029, 195077, 207509, 223589, 230189, 261077, 312989, 340709 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Same as A257163 without its first term. - Jonathan Sondow, Oct 24 2015

The domain of n is not explicit. If the domain is all integers then the sequence A257163 is produced. In this sequence domain is all nonnegative integers. - Michael Somos, Oct 24 2015

LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..1000

P. De Geest, World!Of Numbers

MATHEMATICA

lst={}; Do[a=n^2+(n+1)^2+(n+2)^2; If[PrimeQ[a], AppendTo[lst, a]], {n, 6!}]; lst (* Vladimir Joseph Stephan Orlovsky, Jun 02 2009 *)

Select[Table[3n^2+6n+5, {n, 0, 400}], PrimeQ] (* Harvey P. Dale, Oct 22 2016 *)

PROG

(PARI) select(isprime, vector(100, n, 3*n^2+2)) \\ Charles R Greathouse IV, Apr 17 2015

CROSSREFS

Cf. A257163.

Sequence in context: A273078 A060963 A107002 * A272839 A272921 A198764

Adjacent sequences:  A027861 A027862 A027863 * A027865 A027866 A027867

KEYWORD

nonn,easy

AUTHOR

Patrick De Geest

EXTENSIONS

More terms from Claudio Meller, Jun 25 2009

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified November 23 19:08 EST 2017. Contains 295128 sequences.