cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A002148 Smallest prime p==3 (mod 8) such that Q(sqrt(-p)) has class number 2n+1.

This page as a plain text file.
%I A002148 M3164 N1282 #29 Aug 06 2022 07:17:33
%S A002148 3,59,131,251,419,659,1019,971,1091,2099,1931,1811,3851,3299,2939,
%T A002148 3251,4091,4259,8147,5099,9467,6299,6971,8291,8819,14771,22619,9539,
%U A002148 13331,18443,11171,16979,12011,13859,16931,17939,28211,19211,24251,20411
%N A002148 Smallest prime p==3 (mod 8) such that Q(sqrt(-p)) has class number 2n+1.
%D A002148 D. A. Buell, Binary Quadratic Forms. Springer-Verlag, NY, 1989, pp. 224-241.
%D A002148 N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
%D A002148 N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
%H A002148 David Broadhurst and T. D. Noe, <a href="/A002148/b002148.txt">Table of n, a(n) for n = 0..10399</a>
%H A002148 D. Shanks, <a href="https://doi.org/10.1090/S0025-5718-70-99853-4">Review of R. B. Lakein and S. Kuroda, Tables of class numbers h(-p) for fields Q(sqrt(-p)), p <= 465071</a>, Math. Comp., 24 (1970), 491-492.
%t A002148 a=Table[0, {101}]; Do[If[PrimeQ[m], c=NumberFieldClassNumber[Sqrt[-m]]; If[c<102 && a[[c]]==0, a[[c]]=m]], {m, 3, 30000, 8}]; Table[a[[n]], {n, 1, 101, 2}]
%Y A002148 Cf. A002143 (class numbers), A002149, A003173, A006203.
%K A002148 nonn
%O A002148 0,1
%A A002148 _N. J. A. Sloane_ and _Mira Bernstein_
%E A002148 More terms from _Robert G. Wilson v_, Apr 17 2001
%E A002148 Edited by _Dean Hickerson_, Mar 17 2003