Course Test · University: upper level
Number theory: test
Bézout coefficients, linear congruences and the Chinese remainder theorem, Euler's theorem and fast powers, (arphi), (sigma), ( au) and (mu), perfect and Carmichael numbers, Legendre and Jacobi symbols, square roots modulo a prime, orders and primitive roots, factoring a Fermat number, sums of two squares, linear Diophantine equations and the Frobenius number, continued fractions, Pell's equation, Legendre's formula and the prime-counting function.
Twenty exercises of the kind this course sets. Answers are on the independent answers page; the same exercises done with RatMath are on the RatMath answers page.
- 1.Bézout coefficientsFind and integers with .
- 2.Linear congruenceSolve .
- 3.Chinese remainder theoremFind the least positive with , , .
- 4.Euler's totientCompute .
- 5.Fermat's little theoremFind .
- 6.Divisor functionsCompute and . Is 28 perfect?
- 7.Möbius functionCompute and .
- 8.Legendre symbolEvaluate .
- 9.Jacobi symbolEvaluate the Jacobi symbol . Is 2 a square mod 15?
- 10.Square roots mod pSolve .
- 11.Order of an elementFind the multiplicative order of 2 modulo 11.
- 12.Primitive rootsFind the least primitive root modulo 13.
- 13.Fermat numbersFactor .
- 14.Carmichael numbersShow 561 is composite but for every coprime to 561.
- 15.Sums of two squaresWrite 65 as a sum of two squares in every way ().
- 16.Linear Diophantine equationsFind all solutions of in non-negative integers.
- 17.Frobenius numberChicken nuggets come in boxes of 6, 9 and 20. What is the largest number that cannot be bought exactly?
- 18.Continued fractions and Pell's equationFind the continued fraction of , and the smallest positive solution of .
- 19.Legendre's formulaWhat is the largest power of 2 dividing ?
- 20.Prime countingHow many primes are below 1000?