login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A220861
Choose smallest m>0 such that the n-th rational prime p ramifies in the imaginary quadratic extension field K = Q(sqrt(-m)); a(n) = discriminant(K).
4
-4, -3, -20, -7, -11, -52, -68, -19, -23, -116, -31, -148, -164, -43, -47, -212, -59, -244, -67, -71, -292, -79, -83, -356, -388, -404, -103, -107, -436, -452, -127, -131, -548, -139, -596, -151, -628, -163, -167, -692, -179, -724, -191, -772, -788, -199
OFFSET
1,1
COMMENTS
m=1 if p=2, otherwise m=p.
REFERENCES
David A. Cox, "Primes of the Form x^2 + n y^2", Wiley, 1989, Cor. 5.17, p. 105.
LINKS
FORMULA
Let p = prime(n). Then a(n) = -4 if p = 2, -p if p == 3 mod 4, -4p if p == 1 mod 4.
CROSSREFS
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Dec 26 2012
STATUS
approved