[go: up one dir, main page]

login
Revision History for A107168 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Primes of the form 4x^2 + 15y^2.
(history; published version)
#23 by Charles R Greathouse IV at Thu Sep 08 08:45:18 EDT 2022
PROG

(MAGMAMagma) [p: p in PrimesUpTo(3000) | p mod 60 in [19, 31]]; // Vincenzo Librandi, Jul 25 2012

Discussion
Thu Sep 08
08:45
OEIS Server: https://oeis.org/edit/global/2944
#22 by Charles R Greathouse IV at Fri Feb 10 09:45:00 EST 2017
STATUS

editing

approved

#21 by Charles R Greathouse IV at Fri Feb 10 09:44:58 EST 2017
NAME

Primes of the form 4x^2 + 15y^2.

COMMENTS

Discriminant = -240. See A107132 for more information.

Also, primes of form u^2+15v^2 where v is odd (and u is necessarily even), while A107152 (which can also be expressed as x^2+60y^2) has even v. The former is {19,31} mod 60 and the latter is {1,49} mod 60, but both can be reduced to the common congruence {1,19} mod 30. [From _- _Tito Piezas III_, Jan 01 2009]

PROG

(PARI) list(lim)=my(v=List(), t); forprime(p=19, lim, t=p%60; if(t==19||t==31, listput(v, p))); Vec(v) \\ Charles R Greathouse IV, Feb 10 2017

STATUS

approved

editing

#20 by OEIS Server at Sun Aug 10 11:16:26 EDT 2014
LINKS

Vincenzo Librandi and Ray Chandler, <a href="/A107168/b107168_1.txt">Table of n, a(n) for n = 1..10000</a> [First 1000 terms from Vincenzo Librandi]

#19 by Ray Chandler at Sun Aug 10 11:16:26 EDT 2014
STATUS

editing

approved

Discussion
Sun Aug 10
11:16
OEIS Server: Installed new b-file as b107168.txt.  Old b-file is now b107168_1.txt.
#18 by Ray Chandler at Sun Aug 10 11:16:21 EDT 2014
LINKS

N. J. A. Sloane et al., <a href="https://oeis.org/wiki/Binary_Quadratic_Forms_and_OEIS">Binary Quadratic Forms and OEIS</a> (Index to related sequences, programs, references)

N. J. A. Sloane et al., <a href="https://oeis.org/wiki/Binary_Quadratic_Forms_and_OEIS">Binary Quadratic Forms and OEIS</a> (Index to related sequences, programs, references)

#17 by Ray Chandler at Sun Aug 10 11:15:54 EDT 2014
LINKS

Vincenzo Librandi, <a href="/A107168/b107168.txt">Table of n, a(n) for n = 1..1000</a>

Vincenzo Librandi and Ray Chandler, <a href="/A107168/b107168_1.txt">Table of n, a(n) for n = 1..10000</a> [First 1000 terms from Vincenzo Librandi]

STATUS

approved

editing

#16 by N. J. A. Sloane at Tue Aug 05 14:15:33 EDT 2014
MATHEMATICA

QuadPrimesQuadPrimes2[4, 0, 15, 10000] (* see A106856 *)

Discussion
Tue Aug 05
14:15
OEIS Server: https://oeis.org/edit/global/2284
#15 by N. J. A. Sloane at Tue Aug 05 14:12:11 EDT 2014
MATHEMATICA

QuadPrimes[4, 0, 15, 10000] (* see A106856 *) Note: the original QuadPrimes had a bug which could sometimes give wrong answers. This sequence should be checked (unless the coefficient of xy in the quadratic form is zero, in which case QuadPrimes gives correct answers). - N. J. A. Sloane, Jun 04 2014

QuadPrimes[4, 0, 15, 10000] (* see A106856 *)

Discussion
Tue Aug 05
14:12
OEIS Server: https://oeis.org/edit/global/2282
#14 by N. J. A. Sloane at Mon Jun 16 11:28:43 EDT 2014
MATHEMATICA

QuadPrimes[4, 0, 15, 10000] (* see A106856 *) Note: the original QuadPrimes had a bug which could sometimes give wrong answers. This sequence should be checked (unless the coefficient of xy in the quadratic form is zero, in which case QuadPrimes gives correct answers). - N. J. A. Sloane, Jun 04 2014

Discussion
Mon Jun 16
11:28
OEIS Server: https://oeis.org/edit/global/2234