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

Home > Numbers
Factorial Crossed Perfect Square Settlement (Posted on 2023-09-21) Difficulty: 3 of 5
Find all possible quadruplets (a,b,c,d) of positive integers, that satisfy this equation:
a!-b!-c! = d2.

Prove that no further quadruplet satisfies the given conditions.

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

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer solution | Comment 1 of 81
for a=1:28
  fa=factorial(sym(a));
  for b=1:a-1
    fb=factorial(sym(b));
    tot1=fa-fb;
    c=1;
    while tot>=0 || c==1
     fc=factorial(sym(c));
     tot=tot1-fc;
     sr=round(sqrt(tot));
     if sr*sr==tot && tot>=0
       disp([a b c sr tot])
     end
     c=c+1;
    end
  end
end

finds

(without proof of completeness)
 a  b  c  d  d^2
[2, 1, 1, 0, 0]    (d is not positive here -- ignore)
[3, 1, 1, 2, 4]
[4, 2, 3, 4, 16]
[4, 3, 2, 4, 16]
[6, 4, 5, 24, 576]
[6, 5, 4, 24, 576]
[7, 6, 6, 60, 3600]

  Posted by Charlie on 2023-09-21 09:20:34
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (2)
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