Find n and k in n!+8=2^k

  • MHB
  • Thread starter kaliprasad
  • Start date
  • #1
kaliprasad
Gold Member
MHB
1,339
0
Find all pairs of integers n and k such that $n!+8 = 2^k$
 
Last edited:

Answers and Replies

  • #2
I like Serena
Homework Helper
MHB
16,350
256
Find integers n and k such that $n!+8 = 2^k$

From inspection I can find $n=4,\,k=5$.
As a bonus I can see that $n=5,\,k=7$ works as well.
I kind of suspect that you intended to find all such integers, did you? Ah well, that was not the question.
 
  • #3
Opalg
Gold Member
MHB
2,779
4,000
From inspection I can find $n=4,\,k=5$.
As a bonus I can see that $n=5,\,k=7$ works as well.
I kind of suspect that you intended to find all such integers, did you? Ah well, that was not the question.
I really don't like that ISPOILER effect! :sick:
 
  • #4
I like Serena
Homework Helper
MHB
16,350
256
I really don't like that ISPOILER effect! :sick:
It's new in Xenforo. I felt I just had to try it out. 😢
 
  • #5
kaliprasad
Gold Member
MHB
1,339
0
From inspection I can find $n=4,\,k=5$.
As a bonus I can see that $n=5,\,k=7$ works as well.
I kind of suspect that you intended to find all such integers, did you? Ah well, that was not the question.

I have edited the question to make it more clear

your solution is correct. please mention the steps
 
  • #6
Opalg
Gold Member
MHB
2,779
4,000
If $k>3$ then $2^k-8 = 8(2^{k-3} - 1)$, which is an odd multiple of $8$ and therefore not divisible by $16$. But if $n>5$ then $n!$ is divisible by $2*4*6$, which is a multiple of $16$. Those two facts ensure that there are no more solutions of $n! + 8 = 2^k$ apart from the two already mentioned.
 
  • #7
Arlynnnn
2
0
Where's the solutions?
 
  • #8
Opalg
Gold Member
MHB
2,779
4,000
Where's the solutions?
If you click on the blurred sections in the above comments, they will become clear and reveal the solutions.
 
  • #9
Arlynnnn
2
0
your solution is correct. please mention the steps
 

Suggested for: Find n and k in n!+8=2^k

Top