HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Number Theory: Divisibility and Primes
  2. /Mathematics
  3. /Division, Divisibility Rules and Primes
Chapter 27 · Part 1 of 3Number Theory: Divisibility and Primes
Next part: Common Factors, the Euclidean Algorithm and Divisors →
High School (11–12)Number TheoryFree course

Division, Divisibility Rules and Primes

You have divided numbers since primary school.

  • Now we ask what division can prove.
  • You use the division algorithm to sort numbers by their remainders.
  • You prove the divisibility rules instead of just using them.
  • Then you learn why there are infinitely many primes and why each number has only one prime factorisation.
  • Every step is a short proof you can write yourself.
  • It covers the first unit of the number theory of the olympiads and of the ISI and CMI entrance tests.

3 lessons, about 1 h 25 min3 simulations10 problems3 practice questionsPython in every lesson

StemPy LabCreated by StemPy Lab

Free

Every lesson is open to read. Enroll to keep your place in the course. No payment needed.

This course includes

  • 3 lessons, about 1 h 25 min
  • 3 simulations with sliders
  • 3 practice questions with new numbers each time
  • 3 Python programs to run
  • 10 problems with worked solutions
  • 2 Python labs
1 question set
  • 1 revision note
  • 1 test
  • Log in to save

    Course outline (3 lessons)

    1. 1
      Lesson 1about 30 min

      The division algorithm and divisibility

      For whole numbers aaa and bbb with b>0b > 0b>0 there is exactly one way to write a=bq+ra = bq + ra=bq+r with 0≤r<b0 \le r < b0≤r<b. This is the division algorithm. We say b∣ab \mid ab∣a when the remainder is 000. A divisor of two numbers divides every combination ax+byax + byax+by. Sorting numbers by their remainders turns many proofs into a few short cases.

      1 simulation1 practice question1 Python program3 problems1 Python lab
      Read the lesson
    2. 2
      Lesson 2about 25 min

      Divisibility rules and why they work

      A number written with digits is a sum of digits times powers of 101010. Each power of 101010 leaves a simple remainder on division by 222, 333, 444, 555, 888, 999 and 111111, and that gives each rule. The rules for 333 and 999 use the digit sum, the rule for 111111 the alternating sum, and the rule for 777, 111111 and 131313 uses 1001=7×11×131001 = 7 \times 11 \times 131001=7×11×13.

      1 simulation1 practice question1 Python program3 problems
      Read the lesson
    3. 3
      Lesson 3about 30 min

      Primes and the fundamental theorem

      A prime is a whole number above 111 whose only positive divisors are 111 and itself. Every whole number above 111 has a prime divisor, a composite number has one that is at most its square root, and there are infinitely many primes. The fundamental theorem of arithmetic says that each number above 111 is a product of primes in exactly one way, apart from the order.

      1 simulation1 practice question1 Python program4 problems1 Python lab1 question set1 note
      Read the lesson

    Test Your Learning

    Division and Primes: Olympiad Style Test
    Olympiad format10 questions · 30 min
    Not started

    Your teacher

    StemPy LabStemPy Lab

    1 follower

    Loading…

    ← All Courses
    ← PreviousCommon Factors, the Euclidean Algorithm and Divisors →
    More onNumber Theory

    Discussion (0)

    Log in to join the discussion.

    Loading…