Skip to main content
The National Cipher Challenge

Reply To: Maths

#98009
RickOShea
Participant

Excellent question USB-C_is_supreme. Here are my thoughts along the same lines as the previous solutions provided…

Given a! + b! = 2^n

1. If a = b, then:
2a! = 2^n
a! = 2^(n-1)

No solution for a >= 3, as 3 is not a factor of 2^(n-1).

2. If a < b, then:
a!(1 + b!/a!) = 2^n, as a! is a factor of b!.

No solution for a >= 3, as 3 is not a factor of 2^n.

3. If a > b, then:

The same applies as 2 above, but with a and b swapped.

 

Report a problem