Number Theory Worksheet 1 - Factors and Divisibility
Number Theory Worksheet 1 - Factors and Divisibility
Number Theory Worksheet 1 - Factors and Divisibility
Optional:
1. Find the smallest positive integer n such that n ! is a multiple of 102009
n!
2. [Source: UKMT Mentoring] Given that (nr )= n ! ( n−r )!
, find the largest prime factor of
(200
100 )
.
3. [Source: Classic] Show that √ n ! is never an integer, where n is an integer. You will likely
need Bertrand’s Postulate, which states that for any integer k , there is always at least one
prime between k and 2 k .
www.drfrostmaths.com/rzc
Number Theory Worksheet 1 - ANSWERS
1. What is the smallest number 112 must be multiplied by to give: (a) a square number (b) a cube
number.
(a) 112=24 ×7 . We can multiply by 7 to get a square number, since the powers in the prime
factorisation will be even.
(b) We can multiply by 22 × 72=196 to get a cube number, since the powers in the prime
factorisation will all be multiples of 3.
2. If 2, 4 and 7 are three digits of a four-digit number N, where N is divisible by 36, find the greatest
possible value of N.
If it’s divisible by 36, the only two coprime factors are 9 and 4, so we know our number must be
divisible by 9 and 4. If it’s divisible by 9, the digits must add up to a multiple of 9, so the missing digit is
5. And if it’s divisible by 4 the last two digits must be divisible by 4. We might as well put the largest
digits first, so that we start with 75. 42 is not divisible by 4 but 24 is, so our number is 7524.
3. If a number n is prime and greater than 3, then what is the maximum number
( n−1 )2 (n+1) is guaranteed to be divisible by?
24. If n is prime, then both n-1 and n+1 are even, so both contain a factor of 2. But since n-1, it
contains at least two factors of 2, meaning our number is divisible by 23 so far. Similarly, one (and
only one) of n-1, n and n+1 have to be divisible by 3. It can’t be n because it is prime, so either n-1 or
n+1 is divisible by 3. We can only guarantee it will be divisible by 3 and not for any higher power,
because we don’t know whether it’s n-1 or n+1 that’s divisible by 3. Our number is therefore divisible
by 23 ×3=24.
4. The number of divisors of 55 n3 are 55 (including 1 and the number itself). How many divisors does
7 n7 have?
Answer=352If 55n3 has 55 factors, then the powers of the prime factorisation must be 10 and 4
(by similar reasoning to that in the lecture notes). Therefore n3 must have powers of 9 and 3, and n
must have powers of 3 and 1. Either n=53 × 111 or n=51 × 113. Then 7 n7 is either 71 ×521 × 117
or 71 ×57 ×11 21. In either case, we have 2 ×22 ×8=352 factors.
www.drfrostmaths.com/rzc
6. How many digits does 520 ×4 13 have?
¿ 520 × 226=( 520 ×220 ) ×26=10 20 ×26 . This is 64 with twenty zeros on the end, which has 22 digits
in total.
8. My eldest child is twice as old as my youngest. The product of my childrens’ ages is 1664. How
many children do I have?
Note that 1664=27 ×13. If the eldest child is twice as old as the youngest, then the only difference
in the prime factorisation of their ages is that the power of 2 is one greater for the eldest child.
Neither of these two children can use the single prime factor of 13, because otherwise their prime
factorisations would differ other than the change of power in 2.
So there must be a child in the middle whose age is divisible by 13. Note that the lowest power of 2
greater than 13 is 24 . Thus the age of the eldest child must be at least 24 . But since we only have
three remaining prime factors of 2 available at most, it must be the case that the ages of the children
are 23, 13 and 24 . i.e. There are 3 children.
Optional:
n!
10. Given that (nr )= n ! ( n−r )!
, find the largest prime factor of (200
100 )
.
200 = 200 !
( )100 100 ! 100!
. If the prime factor p is greater than 50, then it’ll appear twice in the
denominator. But then it needs to appear at least 3 times in the numerator in order to not be
cancelled out. Thus 3 p ≤200. The largest prime that satisfies this constraint is 61.
www.drfrostmaths.com/rzc
n
will definitely have a prime factor p where < p< n. This is true by Bertrand’s Postulate, and since
2
n ! is the product of all the integers up to n , a prime will appear above half of n in this product.
www.drfrostmaths.com/rzc