Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a public database in this world consisting of known number fields, their discriminants, and their ideal class groups, etc? If so, how does a lay person like me have access to this database?

share|cite|improve this question

Hideo Wada, A table of ideal class groups of imaginary quadratic fields, Proc. Japan Acad. Volume 46, Number 5 (1970), 401-403 is available at

I found that by typing $$\rm table\ class\ group$$ into Google, and I expect more can be found by that technique.

share|cite|improve this answer
Project Euclid also has the paper Tables of ideal class groups of real quadratic fields by Saito and Wada (1988). – hardmath Apr 20 '12 at 0:33

From PARI's tables: This directory contains a stripped down version of the number field tables published by the Bordeaux computational number theory group (H. Cohen, F. Diaz y Diaz, M. Olivier and their students) around 1995, and incorporates a number of corrections. The original [uncorrected] tables can be found at

AUTHORS: See for the authors of the original tables (~1995). The present version was set up by Karim Belabas (Bordeaux) for the PARI group (2007).

FORMAT: The file contains data pertaining to fields of degree $\rm\:3 \le n \le 7\:$ with $\rm\:0 \le r \le n\:$ real places. The data is in GP format, one field per line, meant to be fed to the gp calculator as in

v = readvec("");

which stores in the vector $\rm\: v\ (182417$ elements) data corresponding to the $182417$ complex cubic fields with discriminant $\:\!> -10^6.$ Reading the largest table requires a PARI stack size around $\rm\:\!30\:\!M$. Entries in the resulting vector are sorted by increasing discriminant absolute value. Each entry is a $4$-components vector: [disc, V, h, cyc], where

  • disc is the field discriminant.
  • V is the VECTOR of coefficients of the minimal polynomial of a generator of the number field. P = Pol(V) is the true defining polynomial, and bnfinit(P) will recompute the bnf data associated to the field. polgalois(P) indicates the Galois group of its Galois closure.
  • h is the class number.
  • cyc is the vector of orders of the class group cyclic components in "elementary divisors" form: cyc $\rm = [d_1, d_2, \ldots, d_k]$ means that $\rm\:Cl(K) \cong (\mathbb Z/d_1 \mathbb Z) \times\cdots \times (\mathbb Z/d_k \mathbb Z),$ with $\rm\:d_k\: |\: \cdots\:|\: d_2\: |\: d_1.$
share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.