Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Practice › Class 12 › Maths

Number theory and puzzles: practice questions

Class 12 Maths. Ten questions with step-by-step answers, for CBSE and ICSE. Try each one before you open its answer.

Practise this with your AI tutorGo to the questions

Key ideas

  • Clock maths, Fermat’s little theorem, codes, Collatz and Kaprekar.
  • a ≡ b (mod m) means m divides a − b
  • aᵖ⁻¹ ≡ 1 (mod p) for prime p
  • Perfect: equals the sum of its proper divisors
  • Amicable: each one’s divisors add to the other
  • Even perfect numbers = 2ᵖ⁻¹(2ᵖ − 1) with 2ᵖ − 1 prime

Write each step on paper before you look at the answer. Most marks in a board exam come from the method, so check your working line by line, not only the final number.

Ten questions

  1. 1.What is the remainder when 2^11 is divided by 7?

    Show the answer

    Think: 2^6 leaves remainder 1 when divided by 7.

    Work: By Fermat, 2^6 leaves remainder 1, so 2^11 ≡ 2^5 ≡ 4 (mod 7).

    Answer: 4

  2. 2.It is 6 o’clock. What will the clock show after 93 hours?

    Show the answer

    Think: Only the remainder after dividing by 12 matters.

    Work: 93 = 7 × 12 + 9, so move 9 hours on.

    Answer: 3

  3. 3.What is the highest number the Collatz chain of 15 reaches?

    Show the answer

    Think: Odd steps climb, even steps fall. Find the top.

    Work: 15 → 46 → 23 → 70 → 35 → 106 → 53 → 160 → 80 → 40 → 20 → 10 → 5 → 16 → 8 → 4 → 2 → 1

    Answer: 160

  4. 4.Start at 3800. How many Kaprekar steps until you reach 6174?

    Show the answer

    Think: Keep doing big − small and count the steps.

    Work: 3800 → 8262 → 6354 → 3087 → 8352 → 6174

    Answer: 5

  5. 5.Add up the proper divisors of 18 (all divisors except 18 itself).

    Show the answer

    Think: List every number that divides 18.

    Work: 1 + 2 + 3 + 6 + 9 = 21. More than the number: it is “abundant”.

    Answer: 21

  6. 6.Who first proved that there are infinitely many primes?

    1. A.Pascal
    2. B.Euclid
    3. C.Fermat
    4. D.Newton
    Show the answer

    Think: Think about who lived when.

    Work: Euclid gave the proof in his Elements, around 300 BCE.

    Answer: Euclid

  7. 7.What is the remainder when 3^24 is divided by 11?

    Show the answer

    Think: 3^10 leaves remainder 1 when divided by 11.

    Work: By Fermat, 3^10 leaves remainder 1, so 3^24 ≡ 3^4 ≡ 4 (mod 11).

    Answer: 4

  8. 8.It is 6 o’clock. What will the clock show after 96 hours?

    Show the answer

    Think: Only the remainder after dividing by 12 matters.

    Work: 96 = 8 × 12 + 0, so move 0 hours on.

    Answer: 6

  9. 9.What is the highest number the Collatz chain of 11 reaches?

    Show the answer

    Think: Odd steps climb, even steps fall. Find the top.

    Work: 11 → 34 → 17 → 52 → 26 → 13 → 40 → 20 → 10 → 5 → 16 → 8 → 4 → 2 → 1

    Answer: 52

  10. 10.Start at 8453. How many Kaprekar steps until you reach 6174?

    Show the answer

    Think: Keep doing big − small and count the steps.

    Work: 8453 → 5085 → 7992 → 7173 → 6354 → 3087 → 8352 → 6174

    Answer: 7

Before you check an answer

  • 2^6 leaves remainder 1 when divided by 7.
  • Only the remainder after dividing by 12 matters.
  • Odd steps climb, even steps fall. Find the top.
  • Keep doing big − small and count the steps.

Questions students ask

What does Number theory and puzzles in Class 12 Maths cover?
Clock maths, Fermat’s little theorem, codes, Collatz and Kaprekar. a ≡ b (mod m) means m divides a − b aᵖ⁻¹ ≡ 1 (mod p) for prime p
How should I practise Number theory and puzzles?
Write each step on paper before you look at the answer. Most marks in a board exam come from the method, so check your working line by line, not only the final number. Try all ten questions on this page, then open the chapter in Gradient tuition for step-by-step lessons, a live experiment and an AI tutor who explains where you went wrong.
Is this for CBSE or ICSE?
The questions follow the Class 12 Maths syllabus shared by CBSE and ICSE / ISC, and suit most state boards too.

Stuck on one of these?

Gradient tuition teaches Number theory and puzzles step by step, with experiments you can play with and an AI tutor who circles the part of the question you missed.

Open Number theory and puzzles in tuition
ProbabilityAll practice