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.)
Some Thoughts without proof of completeness | Comment 1 of 5
f=1;
for i=2:17
  f(end+1)=f(end)*i;
end
for p=0:48
  for q=0:48
    nf=2^p+2^q;
    if ismember(nf,f)
      n=find(f==nf);
      disp([p q n])
    end
  end
end

finds 5 triplets:

     0     0     2
     1     2     3
     2     1     3
     3     4     4
     4     3     4

This tested every n through 17 for being able to be the total. Possibly there could be a proof that factorials above 17! (or even lower) cannot be the sum of two powers of 2.


  Posted by Charlie on 2023-02-27 12:46:52
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