Skip to content

Modular Arithmetic: all problems

Focus mode: every practice problem from the chapter, one after another.

0 / 26 solved

Problem 24.1.1

Omega Learn

Find the remainder when 36936^9 is divided by 55.

Problem 24.1.2

Omega Learn

Find the remainder when 34934^9 is divided by 55.

Problem 24.1.3

Omega Learn

Find the remainder when 78037^{803} is divided by 400400.

Problem 24.1.4

AMC 10

An integer NN is selected at random in the range 1≤N≤20201 \le N \le 2020. What is the probability that the remainder when N16N^{16} is divided by 55 is 11?

Click a choice or type its letter (A–E).

Problem 24.1.5

PUMaC

If pp, qq and rr are primes with pqr=7(p+q+r)pqr = 7(p + q + r), find p+q+rp + q + r.

Problem 24.1.6

Omega Learn

Find the smallest positive number that leaves a remainder of 1111 when divided by 1313 and a remainder of 22 when divided by 55.

Problem 24.1.7

AMC 10

This problem also appears in the book as 21.3.21.

What is the hundreds digit of (20!−15!)(20! - 15!)?

Problem 24.1.8

AMC 10

This problem also appears in the book as 21.3.19.

What is the tens digit of 20152016−20172015^{2016} - 2017?

Problem 24.1.9

AMC 10

Which of the following expressions is never a prime number when pp is a prime number?

Click a choice or type its letter (A–E).

Problem 24.1.10

AMC 12

Let S(n)S(n) equal the sum of the digits of positive integer nn. For example, S(1507)=13S(1507) = 13. For a particular positive integer nn, S(n)=1274S(n) = 1274. Which of the following could be the value of S(n+1)S(n+1)?

Click a choice or type its letter (A–E).

Problem 24.1.11

AMC 10

Let a1,a2,…,a2018a_1, a_2, \dots, a_{2018} be a strictly increasing sequence of positive integers such that

a1+a2+⋯+a2018=20182018.a_1 + a_2 + \cdots + a_{2018} = 2018^{2018}.

What is the remainder when a13+a23+⋯+a20183a_1^3 + a_2^3 + \cdots + a_{2018}^3 is divided by 66?

Problem 24.1.12

AMC 10

How many of the first 20182018 numbers in the sequence 101,1001,10001,100001,…101, 1001, 10001, 100001, \dots are divisible by 101101?

Problem 24.1.13

AMC 12

This problem also appears in the book as 21.3.20.

Let N=123456789101112…4344N = 123456789101112\dots4344 be the 7979-digit number that is formed by writing the integers from 11 to 4444 in order, one after the other. What is the remainder when NN is divided by 4545?

Problem 24.1.14

AMC 10/12

One of the following numbers is not divisible by any prime number less than 1010. Which is it?

Click a choice or type its letter (A–E).

Problem 24.1.15

AMC 12

Let SS be the set of all integers z>1z > 1 such that for all pairs of nonnegative integers (x,y)(x, y) with x<y<zx < y < z, the remainder when 2025x2025x is divided by zz is less than the remainder when 2025y2025y is divided by zz. What is the sum of the elements of SS?

Problem 24.1.16

AIME

Let pp be the least prime number for which there exists a positive integer nn such that n4+1n^4 + 1 is divisible by p2p^2. Find the least positive integer mm such that m4+1m^4 + 1 is divisible by p2p^2.

Problem 24.1.17

AMC 10/12Challenge

Let x0,x1,x2,…x_0, x_1, x_2, \dots be a sequence of numbers, where each xkx_k is either 00 or 11. For each positive integer nn, define

Sn=∑k=0n−1xk2k.S_n = \sum_{k=0}^{n-1} x_k 2^k.

Suppose 7Sn≡1(mod2n)7S_n \equiv 1 \pmod{2^n} for all n≥1n \ge 1. What is the value of the sum

x2019+2x2020+4x2021+8x2022?x_{2019} + 2x_{2020} + 4x_{2021} + 8x_{2022}?
Click a choice or type its letter (A–E).

Problem 24.1.18(additional)

AMC 10

What is the remainder when 30+31+32+⋯+320093^0 + 3^1 + 3^2 + \cdots + 3^{2009} is divided by 88?

Problem 24.1.19(additional)

AMC 10

What is the greatest power of 22 that is a factor of 101002−450110^{1002} - 4^{501}?

Click a choice or type its letter (A–E).

Problem 24.1.20(additional)

AMC 10

Let nn be a 55-digit number, and let qq and rr be the quotient and the remainder, respectively, when nn is divided by 100100. For how many values of nn is q+rq + r divisible by 1111?

Problem 24.1.21(additional)

AMC 10

How many distinct four-digit numbers are divisible by 33 and have 2323 as their last two digits?

Problem 24.1.22(additional)

AIME

For positive integers NN and kk, define NN to be kk-nice if there exists a positive integer aa such that aka^k has exactly NN positive divisors. Find the number of positive integers less than 10001000 that are neither 77-nice nor 88-nice.

Problem 24.1.23(additional)

AIME

Let SS be the set of integers between 11 and 2402^{40} whose binary expansions have exactly two 11's. If a number is chosen at random from SS, the probability that it is divisible by 99 is p/qp/q, where pp and qq are relatively prime positive integers. Find p+qp + q.

Problem 24.1.24(additional)

AIME

It is known that, for all positive integers kk,

12+22+32+⋯+k2=k(k+1)(2k+1)6.1^2 + 2^2 + 3^2 + \cdots + k^2 = \frac{k(k+1)(2k+1)}{6}.

Find the smallest positive integer kk such that 12+22+32+⋯+k21^2 + 2^2 + 3^2 + \cdots + k^2 is a multiple of 200200.

Problem 24.1.25(additional)

AIME

Find the sum of all positive integers nn such that when 13+23+33+⋯+n31^3 + 2^3 + 3^3 + \cdots + n^3 is divided by n+5n + 5, the remainder is 1717.

Problem 24.1.26(additional)

AMC 10/12Challenge

The number obtained from the last two nonzero digits of 90!90! is equal to nn. What is nn?