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

 

Logo

Invitation: celebrating 50 years of OEIS, 250000 sequences, and Sloane's 75th, there will be a conference at DIMACS, Rutgers, Oct 9-10 2014.

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 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..26.

PROG

(PARI) a(p)=if(p<0, 0, k=1; while(abs(p-qfbclassno(-4*k))>0, k++); k)

CROSSREFS

Cf. A000003.

Sequence in context: A222476 A097056 A092358 * A106953 A149503 A149504

Adjacent sequences:  A079026 A079027 A079028 * A079030 A079031 A079032

KEYWORD

nonn

AUTHOR

Benoit Cloitre, Feb 01 2003

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified September 2 13:10 EDT 2014. Contains 246357 sequences.