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

Home > Numbers
An Equation Diophantus Never Considered (Posted on 2024-08-18) Difficulty: 3 of 5
Determine all possible values of an integer n that satisfy this equation:
n! + n = n2

No Solution Yet Submitted by K Sengupta    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Solution | Comment 1 of 2
Lets test small cases:
n=0 makes 1+0=0 false 
n=1 makes 1+1=1 false
n=2 makes 2+2=4 true
n=3 makes 6+3=9 true
n=4 makes 24+4=16 false
So n=2 and n=3 are solutions.  So lets prove there are no larger solutions.

Since we have testes all the small values we can freely assume n>2. Divide both sides by n-2 and clean up the algebra.  Then the equation becomes n*(n-1)*(n-3)! + 1 = n+2 + 2/(n-2).

2/(n-2) must be an integer, but that can only happen when the fraction reduces to 1 or 2.  Those values of n are 3 and 4, and we have already tested those cases.  Any larger value of n will make the fraction be non-integral and then the equation will be false.  So there are no more solutions.

  Posted by Brian Smith on 2024-08-18 10:19:14
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 (15)
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