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”).

A001991
Class numbers associated with terms of A001990.
(Formerly M0212 N0863)
0
2, 2, 2, 2, 2, 2, 2, 2, 46, 46, 46, 46, 46, 46, 406, 718, 950, 950, 950, 1698, 1698, 1698, 1698, 1698, 3990, 3990, 3990, 53510, 77970, 89478, 89478, 89478, 89478, 89478, 89478
OFFSET
1,1
REFERENCES
N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
D. H. Lehmer, E. Lehmer and D. Shanks, Integer sequences having prescribed quadratic character, Math. Comp., 24 (1970), 433-451.
D. H. Lehmer, E. Lehmer and D. Shanks, Integer sequences having prescribed quadratic character, Math. Comp., 24 (1970), 433-451 [Annotated scanned copy]
FORMULA
a(n) = ClassNumber(-8*A001990(n)). - Sean A. Irvine, Mar 06 2013
PROG
(PARI) isok(p, oddpn) = {forprime(q=3, oddpn, if (kronecker(p, q) != -kronecker(-2, q), return (0)); ); return (1); }
a(n) = {oddpn = prime(n+1); forprime(p=3, , if (((p%8) == 5) && isok(p, oddpn), return (qfbclassno(-8*p))); ); } \\ Michel Marcus, Oct 19 2017
CROSSREFS
Cf. A001990.
Sequence in context: A171818 A248777 A175101 * A305706 A359309 A147793
KEYWORD
nonn,more
EXTENSIONS
Better name from Sean A. Irvine, Mar 06 2013
Offset changed by Michel Marcus, Oct 19 2017
STATUS
approved