A002052 Prime determinants of forms with class number 2.
3, 7, 11, 19, 23, 31, 43, 47, 59, 67, 71, 83, 103, 107, 127, 131, 139, 151, 163, 167, 179, 191, 199, 211, 227, 239, 251, 263, 271, 283, 307, 311, 331, 347, 367, 379, 383, 419
Offset: 1
Keywords
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
- Rick L. Shepherd, Table of n, a(n) for n = 1..10000
- M. Suryanarayana, Positive determinants of binary quadratic forms whose class-number is 2, Proceedings of the Indian Academy of Sciences. Section A, 2 (1935), 178-179.
Programs
-
PARI
{QFBclassno(D) = qfbclassno(D) * if(D < 0 || norm(quadunit(D)) < 0, 1, 2); n=0; forprime(p=3, 291619, if(p%4 == 3 && QFBclassno(4*p) == 2, n++; write("b002052.txt", n, " ", p)))} \\ Rick L. Shepherd, Apr 29 2015
Extensions
Term 3 added by Rick L. Shepherd, Apr 29 2015
Comments