All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Some 2 Powers Sum to Factorial (Posted on 2023-02-27) Difficulty: 3 of 5
Determine all possible triplets (p, q, n) of nonnegative integers that satisfy this equation:
                 2p + 2q = n! 
Provide valid argument for your answer.

*** Adapted from a problem which appeared at the Harvard/MIT math Olympiad.

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Similar Solution | Comment 4 of 5 |
My approach was similar to Larry's:

WLOG assume  p >= q. Then we can write:

n! = 2^q(1 + 2^r) where r = p-q

All factors of n! that aren't 2's must come from the 2nd expression.

But 1 + 2^r is a multiple of 3 only when r is odd, and is a multiple of 5 only when r is even (specifically when r = 2 mod 4), so this expression cannot simultaneously contribute both a factor of 3 and of 5. As a result, no n > 4 can be a solution, as those factorials require both factors.

Inspection quickly yields solutions for  n = 2 (p = q = 1), n = 3 (p = 2, q = 1 or the reverse) and n = 4 (p = 4, q = 3 or the reverse) which must therefore be all of the solutions. 

  Posted by Paul on 2023-02-27 16:25:22
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information