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

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

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: A097845 A261530 A246135 * A178652 A119567 A142436

Adjacent sequences:  A139999 A140000 A140001 * A140003 A140004 A140005

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 14 22:42 EST 2019. Contains 329987 sequences. (Running on oeis4.)