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!)
A140002 Primes of the form 8*x^2 + 165*y^2. 1
173, 197, 293, 557, 677, 1493, 1613, 1733, 1877, 1997, 2213, 2477, 2837, 3533, 3797, 4133, 4157, 4253, 4373, 4397, 4517, 4637, 5477, 5573, 5693, 5717, 6173, 7013, 7757, 7853, 8093, 8117, 8597, 9173, 9413, 9437, 9533, 9677, 10133, 10733 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Discriminant = -5280. See A139827 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)
FORMULA
The primes are congruent to {173, 197, 293, 413, 437, 557, 677, 893, 1157, 1253} (mod 1320).
MATHEMATICA
QuadPrimes2[8, 0, 165, 10000] (* see A106856 *)
PROG
(PARI) isA140002(n) = if(isprime(n), {r=0; for(y=0, floor(sqrt(n/165)), t=n-165*y^2; if((t%8==0)&(issquare(t/8)), r=1)); r}, 0) \\ Michael B. Porter, Oct 05 2009
(Magma) [p: p in PrimesUpTo(12000) | p mod 1320 in [173, 197, 293, 413, 437, 557, 677, 893, 1157, 1253]]; // Vincenzo Librandi, Aug 04 2012
CROSSREFS
Sequence in context: A364937 A261530 A246135 * A178652 A119567 A142436
KEYWORD
nonn,easy
AUTHOR
T. D. Noe, May 02 2008
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 July 16 08:10 EDT 2024. Contains 374345 sequences. (Running on oeis4.)