Find the sum of all positive integers n and k such that n ! + 8 = 2 k
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Good proof!
For positive integer n, n ! + 8 = 2 k > 8 = 2 3 ⟹ k > 3
n ! = 2 k − 8 = 2 3 ( 2 k − 3 − 1 ) = Even × Odd
So, n ! contains 8 only and no move even numbers ⟹ 4 ≤ n < 6
n = 4 , 1 × 2 × 3 × 4 = 2 3 ( 2 k − 3 − 1 ) ⟹ 2 k − 3 = 4 = 2 2 ⟹ k = 5
n = 5 , 1 × 2 × 3 × 4 × 5 = 2 3 ( 2 k − 3 − 1 ) ⟹ 2 k − 3 = 1 6 = 2 4 ⟹ k = 7
The answer = 4 + 5 + 5 + 7 = 2 1
n = 4 ⟹ 4 ! + 8 = 2 5 ⟹ k = 5 n = 5 ⟹ 5 ! + 8 = 2 7 ⟹ k = 7
Sum of all values of n and k is: 4 + 5 + 5 + 7 = 2 1
This isn't really a solution.
Log in to reply
Uhmm, yes I know. Since I pretty much just checked values till 6 and got the sense that it won't be true for higher values. Though I should've explained
Also @Adhiraj Dutta , did you find this problem form Michael Penn's channel on YouTube
Log in to reply
Kind of. There's a Discord server for IMO. It was posted as a daily problem. And turns out they found it from Penn's channel.
Log in to reply
@Adhiraj Dutta – Ok, Can you share that Discord link, Thanks!
Log in to reply
@Mahdi Raza – Sure, here is the site. You'll love it!
Log in to reply
@Adhiraj Dutta – Thank you so much.. didn't know anything about this. Looks like a great community to be with for maths
Log in to reply
@Mahdi Raza – You'll love it. There are ex-olympians and medalists as well.
Problem Loading...
Note Loading...
Set Loading...
We mod 1 6 on both sides yields n ! + 8 ≡ 2 k ( m o d 1 6 ) .
If n > 6 , 2 k > n ! = 7 2 0 , so k ≥ 1 0 , which means n ! + 8 ≡ 0 ( m o d 1 6 ) , but for n > 6 , 1 6 ∣ n ! . This means 8 ≡ 0 ( m o d 1 6 ) , a contradiction, which means n ≤ 5 .
Checking for values n ≤ 5 , we get two pairs of solutions: ( n , k ) = ( 5 , 7 ) , ( 4 , 5 ) , which means the answer is 5 + 7 + 4 + 5 = 2 1 .