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!)
A107161 Primes of the form 2x^2 + 27y^2. 2
2, 29, 59, 227, 251, 269, 293, 419, 443, 677, 683, 773, 821, 827, 1013, 1187, 1277, 1301, 1373, 1451, 1493, 1523, 1709, 1733, 1811, 1901, 1949, 2027, 2237, 2243, 2339, 2357, 2381, 2477, 2579, 2693, 2699, 2909, 3299, 3371, 3389, 3413, 3467 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Discriminant = -216. See A107132 for more information.
LINKS
Vincenzo Librandi and Ray Chandler, Table of n, a(n) for n = 1..10000 [First 1000 terms from Vincenzo Librandi]
N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)
MATHEMATICA
QuadPrimes2[2, 0, 27, 10000] (* see A106856 *)
With[{nn=50}, Take[Union[Select[2#[[1]]+27#[[2]]&/@(Tuples[Range[ 0, nn], 2]^2), PrimeQ]], nn]] (* Harvey P. Dale, Jun 15 2014 *)
PROG
(PARI) list(lim)=my(v=List(), w, t); for(x=1, sqrtint(lim\2), w=2*x^2; for(y=0, sqrtint((lim-w)\27), if(isprime(t=w+27*y^2), listput(v, t)))); Set(v) \\ Charles R Greathouse IV, Feb 09 2017
CROSSREFS
Sequence in context: A281546 A115448 A276169 * A041097 A067071 A031918
KEYWORD
nonn,easy
AUTHOR
T. D. Noe, May 13 2005
EXTENSIONS
Terms, including b-file, checked by Harvey P. Dale, Jun 16 2014
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 May 14 03:59 EDT 2024. Contains 372528 sequences. (Running on oeis4.)