Professional Documents
Culture Documents
Number Theory - DPP 05 - IOQM Booster Batch 2024
Number Theory - DPP 05 - IOQM Booster Batch 2024
6. Let our number be 10a + b, a, b 0. Then we have 8. The two-digit perfect squares are 16, 25, 36, 49,
two conditions: 10a + b ≡ 10a ≡ 0(mod b) and 10a 64, 81. We try making a sequence starting with
each one:
+ b ≡ b(mod a), or a divides into b and b divides
▪ 16 – 64 – 49. This terminates since none of
into 10a. Thus b = a, 2a, or 5a (note that if b = them end in a 9, giving us 1649.
10a, then b would not be a digit). ▪ 25.
For b = a, we have n = 11a for nine possibilities, ▪ 36 – 64 – 49, 3649.
9 (10) ▪ 49.
giving us a sum of 11 = 495 . ▪ 64 – 49, 649.
2
▪ 81 – 16 – 64 – 49, 81649.
For b = 2a, we have n = 12a for four possibilities The largest is 81649, so our answer is 816.
(the higher ones give b > 9), giving us a sum of
4 ( 5) 9. Consider the three-digit arrangement, aba . There
12 = 120 .
2 are 10 choices for a and 10 choices for b (since it
For b = 5a, we have n = 15a for one possibility is possible for a = b), and so the probability of
10 10 1
(again, higher ones give b > 9), giving us a sum picking the palindrome is = .
103 10
of 15.
1
If we ignore the case b = 0 as we have been doing Similarly, there is a probability of picking
26
so far, then the sum is 495 + 120 + 15 = 630. the three-letter palindrome.
By the Principle of Inclusion-Exclusion, the total
7. We let N7 = a n a n −1 a 07 ; we are given that probability is
1 1 1 35 7
2(an an–1⋯a0)7 = (anan–1⋯a0)10 + − = = 7 + 52 = 059
26 10 260 260 52
(This is because the digits in N' s base 7
representation make a number with the same 10. Let the sum of the integers in S be N, and let the
digits in base 10 when multiplied by 2) Expanding, size of |S| be n + 1. After any element x is
we find that removed, we are given that n| N – x, so x N
2⋅7n an + 2⋅7n–1 an–1 + ⋯ + 2a0 = 10n an + 10n–1 an–1 (mod n). Since 1 S, N 1 (mod n), and all
elements are congruent to 1 mod n. Since they are
+ ⋯ + a0
positive integers, the largest element is at least n2
or re-arranging,
+ 1, the (n + 1)th positive integer congruent to 1
a0 + 4a1 = 2a2 + 314a3 + ⋯ + (10n – 2 ⋅ 7n) an nod n.
Since the ai s are base-7 digits, it follows that ai < 7, We are also given that this largest number is
and the LHS is less than or equal to 30. Hence our 2002, so 2002 1 (mod n), and n|2001 = 3 23
number can have at most 3 digits in base-7. 29|. Also, we have n2 + 1 2002, so n 44. The
Letting a2 = 6, we find that 6307 = 31510 is our largest factor of 2001 less than 45 is 29, so n = 29
and n + 1 30 is the largest possible. This can
largest 7-10 double.
be achieved with
S = {1, 30, 59, 88, …, 813, 2002}, for instance.
PW Web/App - https://smart.link/7wwosivoicgd4
Library- https://smart.link/sdfez8ejd80if