Skip to content

Probability with Numbers

6 lessons · 7 questions · 2 PYQs · ~70 s per question

The idea

Choosing a divisor of NN at random is choosing each prime exponent independently and uniformly. Properties of the divisor become conditions on the exponents, so the probability is a ratio of counts of exponent choices.

Textbook vs exam method

Exam method

  1. Powers of ten. divisors of 10n10^{n} that are multiples of 10m10^{m}: (n−m+1n+1)2\left(\frac{n-m+1}{n+1}\right)^2.
  2. Unit digits. 7m+7n7^{m}+7^{n} divisible by 55 for m,nm,n from 11 to 100100: 44 of the 1616 cycle pairs, 14\frac14.
  3. Matrices. count ad=bcad=bc directly; the rest are non-singular.

Worked examples

Example 1Sitter

A random divisor of 7272 is odd with probability 312=14\frac{3}{12}=\frac14.

Example 2Easy

A random divisor of 23⋅322^{3}\cdot3^{2} is even with probability 34\frac34.

Example 3Easy

A random divisor of 23⋅32⋅52^{3}\cdot3^{2}\cdot5 is a perfect square

Example 4

(d3, Indore 2020 Q23) distinct entries from {1,…,6}\{1,\dots,6\}

Example 5Typical

m,nm,n from 11 to 4040

Traps

  • ee instead of e+1e+1; forgetting the divisor 11; number sets instead of placements.

Formulas

Number of divisors

N=∏piei ⇒ d(N)=∏(ei+1)N=\prod p_{i}^{e_{i}}\ \Rightarrow\ d(N)=\prod(e_{i}+1)

A random divisor = a random choice of each prime's exponent.
Divisor that is a multiple of a power of ten

P(divisor of 10n is a multiple of 10m)=(n−m+1n+1)2P(\text{divisor of } 10^{n} \text{ is a multiple of } 10^{m})=\left(\dfrac{n-m+1}{n+1}\right)^{2}

Indore 2020 / 2023 items (stored in number-system): exponents of 2 and 5 each from m to n.
Divisor that is a perfect square

P(divisor is a perfect square)=∏(⌊ei/2⌋+1)∏(ei+1)P(\text{divisor is a perfect square})=\dfrac{\prod(\lfloor e_{i}/2\rfloor+1)}{\prod(e_{i}+1)}

Even exponents only: 0, 2, 4, ...
Singular two-by-two matrix

∣abcd∣=0  ⟺  ad=bc\begin{vmatrix}a&b\\c&d\end{vmatrix}=0\iff ad=bc

Indore 2020 Q23: distinct entries from 1-6 give 16 singular placements of 360 = 2/45.

In the exam

Shortcuts
  • Divisor properties split prime by prime: even means the exponent of 22 is at least 11, so P=aa+1P=\frac{a}{a+1}.
  • Unit digits of powers repeat every 44; if the range is a whole number of cycles, count one cycle.
  • Singular matrices: list the equal products ad=bcad=bc among the allowed numbers, then count placements (88 per number set with distinct entries).
~70 s per question at exam speed
When to skip: Divisor items take 40-70 s; matrix enumeration with distinct entries takes about 2 minutes.

Before this

What the exams ask here

  • random factor of 10^19 is multiple of 10^15
  • random factor of N is perfect square
  • 2x2 matrix from {0,1} singular
Next sub-topicProbability of Arrangements

Practise this free. Every mistake is saved and comes back until you fix it.

Start free