Svoboda | Graniru | BBC Russia | Golosameriki | Facebook
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!)
A204993 Negative of the discriminant of quadratic field Q(sqrt(-n)). 2
4, 8, 3, 4, 20, 24, 7, 8, 4, 40, 11, 3, 52, 56, 15, 4, 68, 8, 19, 20, 84, 88, 23, 24, 4, 104, 3, 7, 116, 120, 31, 8, 132, 136, 35, 4, 148, 152, 39, 40, 164, 168, 43, 11, 20, 184, 47, 3, 4, 8, 51, 52, 212, 24, 55, 56, 228, 232, 59, 15, 244, 248, 7, 4, 260 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
For the discriminant of the quadratic field Q(sqrt(n)), see A037449.
a(n) is the smallest positive N such that ((-n)/k) = ((-n)/(k mod N)) for every odd k that is coprime to n, where ((-n)/k) is the Jacobi symbol. As we have Dirichlet's theorem on arithmetic progressions, a(n) is also the smallest positive N such that ((-n)/p) = ((-n)/(p mod N)) for every odd prime p that is not a factor of n. - Jianing Song, May 16 2024
LINKS
FORMULA
Let b(n) = A007913(n), then a(n) = b(n) if b(n) == 3 (mod 4) and 4*b(n) otherwise. - Jianing Song, May 16 2024
MATHEMATICA
-Table[NumberFieldDiscriminant[Sqrt[-n]], {n, 1, 70}]
PROG
(PARI) a(n) = -quaddisc(-n) \\ Jianing Song, May 16 2024
CROSSREFS
Sequence in context: A300690 A193077 A271871 * A234001 A248946 A232808
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Jan 27 2012
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 September 12 23:00 EDT 2024. Contains 375855 sequences. (Running on oeis4.)