Maths Olympiad Prep

Track / Stage 7 / 142 of 300 #1542 of 1964

Problem 1542

National olympiad second round; IMO P1/P4
Combinatorics Difficulty 7.3 Find the answer

Let nn and kk be positive integers for which we have 44 statements:
i)i) n+1n+1 is divisible with kk
ii)ii) n=2k+5n=2k+5
iii)iii) n+kn+k is divisible with 33
iv)iv) n+7kn+7k is prime
Determine all possible values for nn and kk, if out of the 44 statements, three of them are true and one is false

The source for this one didn't record the answer, so there is nothing to check what you type against. Work it on paper and mark yourself against the solution below.

Official solution

To determine all possible values for n n and k k given that three out of the four statements are true and one is false, we will analyze each case systematically.

### Case 1: Statements i,ii,iii i, ii, iii are true, and iv iv is false
1. **Statement i i : n+1 n + 1 is divisible by k k **
n+1=mkfor some integer m n + 1 = mk \quad \text{for some integer } m
2. **Statement ii ii : n=2k+5 n = 2k + 5 **
n=2k+5 n = 2k + 5
3. **Statement iii iii : n+k n + k is divisible by 3 3 **
n+k=3jfor some integer j n + k = 3j \quad \text{for some integer } j
4. **Statement iv iv : n+7k n + 7k is prime (assumed false in this case)**

From statement ii ii , substitute n n in statement i i :
2k+5+1=mk    2k+6=mk    k(m2)=6 2k + 5 + 1 = mk \implies 2k + 6 = mk \implies k(m - 2) = 6
The possible values for k k are the divisors of 6: k=1,2,3,6 k = 1, 2, 3, 6 .

Next, check if n+k n + k is divisible by 3:
- For k=1 k = 1 :
n=2(1)+5=7andn+k=7+1=8(not divisible by 3) n = 2(1) + 5 = 7 \quad \text{and} \quad n + k = 7 + 1 = 8 \quad (\text{not divisible by 3})
- For k=2 k = 2 :
n=2(2)+5=9andn+k=9+2=11(not divisible by 3) n = 2(2) + 5 = 9 \quad \text{and} \quad n + k = 9 + 2 = 11 \quad (\text{not divisible by 3})
- For k=3 k = 3 :
n=2(3)+5=11andn+k=11+3=14(not divisible by 3) n = 2(3) + 5 = 11 \quad \text{and} \quad n + k = 11 + 3 = 14 \quad (\text{not divisible by 3})
- For k=6 k = 6 :
n=2(6)+5=17andn+k=17+6=23(not divisible by 3) n = 2(6) + 5 = 17 \quad \text{and} \quad n + k = 17 + 6 = 23 \quad (\text{not divisible by 3})

None of these values satisfy all three statements i,ii,iii i, ii, iii simultaneously. Therefore, this case is not possible.

### Case 2: Statements i,ii,iv i, ii, iv are true, and iii iii is false
1. **Statement i i : n+1 n + 1 is divisible by k k **
n+1=mk n + 1 = mk
2. **Statement ii ii : n=2k+5 n = 2k + 5 **
n=2k+5 n = 2k + 5
3. **Statement iv iv : n+7k n + 7k is prime**
n+7k=2k+5+7k=9k+5 n + 7k = 2k + 5 + 7k = 9k + 5

From statement ii ii , substitute n n in statement i i :
2k+5+1=mk    2k+6=mk    k(m2)=6 2k + 5 + 1 = mk \implies 2k + 6 = mk \implies k(m - 2) = 6
The possible values for k k are the divisors of 6: k=1,2,3,6 k = 1, 2, 3, 6 .

Next, check if 9k+5 9k + 5 is prime:
- For k=1 k = 1 :
n=2(1)+5=7and9(1)+5=14(not prime) n = 2(1) + 5 = 7 \quad \text{and} \quad 9(1) + 5 = 14 \quad (\text{not prime})
- For k=2 k = 2 :
n=2(2)+5=9and9(2)+5=23(prime) n = 2(2) + 5 = 9 \quad \text{and} \quad 9(2) + 5 = 23 \quad (\text{prime})
- For k=3 k = 3 :
n=2(3)+5=11and9(3)+5=32(not prime) n = 2(3) + 5 = 11 \quad \text{and} \quad 9(3) + 5 = 32 \quad (\text{not prime})
- For k=6 k = 6 :
n=2(6)+5=17and9(6)+5=59(prime) n = 2(6) + 5 = 17 \quad \text{and} \quad 9(6) + 5 = 59 \quad (\text{prime})

Thus, the possible solutions are (n,k)=(9,2) (n, k) = (9, 2) and (17,6) (17, 6) .

### Case 3: Statements i,iii,iv i, iii, iv are true, and ii ii is false
1. **Statement i i : n+1 n + 1 is divisible by k k **
n+1=mk n + 1 = mk
2. **Statement iii iii : n+k n + k is divisible by 3 3 **
n+k=3j n + k = 3j
3. **Statement iv iv : n+7k n + 7k is prime**
n+7k=p(prime) n + 7k = p \quad (\text{prime})

From statement i i :
n+1=mk    n=mk1 n + 1 = mk \implies n = mk - 1

From statement iii iii :
mk1+k=3j    k(m+1)1=3j    k(m+1)=3j+1 mk - 1 + k = 3j \implies k(m + 1) - 1 = 3j \implies k(m + 1) = 3j + 1

Since k(m+1) k(m + 1) must be of the form 3j+1 3j + 1 , we need to check if n+7k n + 7k is prime for possible values of k k .

However, if n+k n + k is divisible by 3, then n+7k n + 7k will also be divisible by 3 (since n+7k=n+k+6k n + 7k = n + k + 6k ). This contradicts the statement that n+7k n + 7k is prime unless n+7k=3 n + 7k = 3 , which is not possible for positive integers n n and k k . Therefore, this case is not possible.

### Case 4: Statements ii,iii,iv ii, iii, iv are true, and i i is false
1. **Statement ii ii : n=2k+5 n = 2k + 5 **
n=2k+5 n = 2k + 5
2. **Statement iii iii : n+k n + k is divisible by 3 3 **
n+k=3j n + k = 3j
3. **Statement iv iv : n+7k n + 7k is prime**
n+7k=2k+5+7k=9k+5 n + 7k = 2k + 5 + 7k = 9k + 5

From statement ii ii :
n=2k+5 n = 2k + 5

From statement iii iii :
2k+5+k=3j    3k+5=3j    3k=3j5    k=j53 2k + 5 + k = 3j \implies 3k + 5 = 3j \implies 3k = 3j - 5 \implies k = j - \frac{5}{3}

Since k k must be an integer, j j must be of the form 3m+2 3m + 2 for some integer m m :
j=3m+2    k=3m+253=3m1 j = 3m + 2 \implies k = 3m + 2 - \frac{5}{3} = 3m - 1

Next, check if 9k+5 9k + 5 is prime:
- For k=1 k = 1 :
n=2(1)+5=7and9(1)+5=14(not prime) n = 2(1) + 5 = 7 \quad \text{and} \quad 9(1) + 5 = 14 \quad (\text{not prime})
- For k=2 k = 2 :
n=2(2)+5=9and9(2)+5=23(prime) n = 2(2) + 5 = 9 \quad \text{and} \quad 9(2) + 5 = 23 \quad (\text{prime})
- For k=3 k = 3 :
n=2(3)+5=11and9(3)+5=32(not prime) n = 2(3) + 5 = 11 \quad \text{and} \quad 9(3) + 5 = 32 \quad (\text{not prime})
- For k=6 k = 6 :
n=2(6)+5=17and9(6)+5=59(prime) n = 2(6) + 5 = 17 \quad \text{and} \quad 9(6) + 5 = 59 \quad (\text{prime})

Thus, the possible solutions are (n,k)=(9,2) (n, k) = (9, 2) and (17,6) (17, 6) .

### Conclusion
The only possible values for n n and k k that satisfy three out of the four statements are:
(n,k)=(9,2)and(17,6) (n, k) = (9, 2) \quad \text{and} \quad (17, 6)

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.