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!)
A079029 Least k such that the class number of quadratic order of discriminant D=-4k equals p, where p runs through the primes. 0
5, 11, 47, 71, 167, 191, 383, 311, 647, 887, 719, 1487, 1151, 1847, 3023, 2711, 2399, 3863, 3719, 5471, 2999, 4391, 3911, 6311, 5519, 5879, 13799, 8231, 5711, 8039, 19463, 12671, 15287, 9239, 17783, 22727, 25847, 40039, 15671, 14159, 17519, 14759, 22271, 26591 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
PROG
(PARI) a(n) = {my(k=1, p=prime(n)); while(abs(p-qfbclassno(-4*k))>0, k++); k; }
CROSSREFS
Cf. A000003.
Sequence in context: A222476 A097056 A092358 * A106953 A297445 A149503
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Feb 01 2003
EXTENSIONS
More terms from Jinyuan Wang, Apr 03 2020
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 April 16 04:38 EDT 2024. Contains 371696 sequences. (Running on oeis4.)