Explore
Type a number and see what number theory says about it: its factorisation and the proof that the factors are prime, its divisors and their sums, how it splits into squares. Then try a modulus, a discriminant, an elliptic curve, a p-adic expansion, a number field, and the characters of a modulus.
A number
Any whole number: try a 40-digit one. Primes below 264 are proven by Baillie–PSW, larger ones by a certificate that a separate checker verifies.
Modulo m
A discriminant
The class group counts forms with up to change of variables. For a positive non-square D the Pell line lists the first solutions of ; for D ≡ 2, 3 mod 4 the forms of discriminant 4D are the relevant ones.
An elliptic curve
Two coefficients a, b for , or five for the long form . The last lines reduce the curve modulo the prime p. Try -43, 166, 1, 0, 1, -19, 26 or -432, 8208.
A p-adic number
A number field
The coefficients of an irreducible polynomial, constant term first: -7, 0, 0, 1 is . The class group and the units are proven; see Class groups for how.
Characters modulo q
Each row is one character with its order, conductor and parity, and an enclosure of for real characters at the s given (a whole number or a fraction such as 1/2).
@ratmath/numtheory and Core's Rational in scope. The last line's value is shown; PRINT(…) adds lines, TEX(…) typesets math.