Math Core

Topic 3 · Test

Unit 3 test: Number Theory

15 questions. Answer them all, then submit to see your score. Solutions unlock after you submit.

This mock AIME covers the whole Number Theory unit: Fermat's, Euler's and Wilson's theorems, the Chinese remainder theorem, orders and primitive roots, Diophantine equations, digits and bases, divisor functions, and pp-adic valuations with lifting the exponent. Every answer is an integer from 00 to 999999.

Question 1

Find the remainder when 32026+520263^{2026} + 5^{2026} is divided by 1313.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Question 2

Find the last three digits of 202620262026^{2026}.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Question 3

Find the remainder when 33273^{3^{27}} is divided by 10001000. (Note 3327=3(327)3^{3^{27}} = 3^{(3^{27})}.)

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Question 4

Find the smallest integer n>1n > 1 that leaves remainder 11 when divided by each of 2,3,4,5,62, 3, 4, 5, 6 and is divisible by 1111.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Question 5

Find the smallest integer n>1n > 1 such that n2−1n^2 - 1 is divisible by 10001000.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Question 6

Find the sum of all primes pp for which the decimal expansion of 1p\dfrac1p is purely periodic with period exactly 66.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Question 7

For how many integers aa with 1≤a≤10001 \le a \le 1000 is a20−1a^{20} - 1 divisible by 10001000?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Question 8

How many ordered pairs of positive integers (x,y)(x, y) satisfy xy=5x+12y+100xy = 5x + 12y + 100?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Question 9

Find the largest positive integer that cannot be written as 11a+13b11a + 13b with aa and bb positive integers.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Question 10

A positive integer NN is written a‾ b‾ c‾\underline{a}\,\underline{b}\,\underline{c} in base 66 and c‾ b‾ a‾\underline{c}\,\underline{b}\,\underline{a} in base 1111, where aa and cc are nonzero. Find NN in base ten.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Question 11

Find the sum of all positive integers n≤200n \le 200 that have exactly 1010 positive divisors.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Question 12

Find the only positive integer nn such that n=12⋅d(n)n = 12 \cdot d(n), where d(n)d(n) is the number of positive divisors of nn.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Question 13

Find the largest integer kk such that 2k2^k divides 72048−17^{2048} - 1.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Question 14

For how many integers kk with 0≤k≤10000 \le k \le 1000 is (1000k)\dbinom{1000}{k} not divisible by 77?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Question 15

Find ∑n=164v2 ⁣(5n−3n)\displaystyle\sum_{n=1}^{64} v_2\!\left(5^n - 3^n\right).

Enter a number. Fractions like 3/4 and sqrt(2) are OK.