Positive Int Solns for Factorial Equation: a!b!=a!+b!+c!

  • Thread starter FeDeX_LaTeX
  • Start date
  • Tags
    Factorial
In summary, the equation a!b! = a! + b! + c! has only one solution for positive integer values of a, b, and c, which is a = 3, b = 3, and c = 4. This was found through a combination of algebraic methods and observing the equation modulo different values. It was also shown that without loss of generality, a can be assumed to be less than or equal to b.
  • #1
FeDeX_LaTeX
Gold Member
437
13

Homework Statement


Find all positive integer solutions for a, b and c to the equation:

a!b! = a! + b! + c!

Homework Equations



n! = n(n-1)(n-2)...

The Attempt at a Solution



I'm not having much progress with this. I've tried rewriting it as

(a! - 1)(b! - 1) = c! + 1

and I've found one solution by observation (a = 3, b = 3, c = 4), but I'm not sure what to do. I've ruled out the case a = b = c (since putting that in gives you a! = 3, which has no integer solutions). I've tried comparing the sets of a and b and have tried pairing up numbers by multiplying them to give an element in the set of possible values of c, but this has not worked either, and given that a calculator is not allowed, it would take too long to compute all the possibilities.

A hint (but not a complete solution) would be appreciated here.

EDIT: I've noticed that the remaining solutions all involve a, b and c ≥ 5 (I think). I remembered that, for n > 5 is composite iff (n-1)! = 0 mod n, but I'm not sure how to apply this here?
 
Physics news on Phys.org
  • #2
We can assume without loss of generalization that [itex]a\leq b[/itex].

Let's start by a subtle hint. What do you get if you look at that equation modulo 2, modulo 3, etc. ? Can you draw conclusions about c?
 
  • #3
Well, I've shown that a, b and c cannot take on values 1 or 2 (by exhaustion), so we can say that a, b, c ≥ 3... so the equation is 0 modulo 2 and 0 modulo 3 since both sides are divisible by 3. If we re-arrange;

[tex]a! = \frac{b! + c!}{b! - 1}[/tex]

Then since a, b, c ≥ 3 the top of the fraction is divisible by 3... but (b! - 1) = 2 mod 3.
 
  • #4
OK, I'm not really sure how that shows anything...

Let's try in some other way:

[tex]a!b!=a!+b!+c![/tex]

What do you get mod a! ??
 
  • #5
I couldn't do it by algebraic methods. I created a small program to find the values a,b and c. I got only one solution i.e 3,3,4 when i check the values of a,b and c from 1 to 20.
(Please someone rectify if i did something wrong.)
 
  • #6
Pranav-Arora said:
I couldn't do it by algebraic methods. I created a small program to find the values a,b and c. I got only one solution i.e 3,3,4 when i check the values of a,b and c from 1 to 20.

That is indeed the only solution. But proving it is an interesting question. If you look at the right divisibility and modulo properties than you should be able to do it.
 
  • #7
micromass said:
We can assume without loss of generalization that [itex]a\leq b[/itex].

Let's start by a subtle hint. What do you get if you look at that equation modulo 2, modulo 3, etc. ? Can you draw conclusions about c?

Why can you assume without loss of generalisation that [itex]a\leq b[/itex]? I used AM-GM on a and b to get [itex]ab \leq \frac{a^2 + b^2}{3}[/itex] but not sure where to go from there...

In mod a!, would it be correct to say that it shows that [itex]b \leq c[/itex]? Also not too convinced of this...
 
Last edited:
  • #8
FeDeX_LaTeX said:
Why can you assume without loss of generalisation that [itex]a\leq b[/itex]?

Otherwise, you just switch a and b around. The situation is completely analogous.

I used AM-GM on a, b and c to get [itex]xy \leq \frac{x^2 + y^2}{3}[/itex] but not sure where to go from there...

What are x and y?

In mod a!, would it be correct to say that it shows that [itex]b \leq c[/itex]? Also not too convinced of this...

Not quite. What do you get if you look at the equation modulo a! ?
 
  • #9
Sorry, by x and y I meant a and b, don't know why I used x and y. It's not important now though, I can see why we can assume [itex]a \leq b[/itex] WLOG.

Well, the LHS is b! mod a! ... with the RHS, you get [itex](2 + c!) \mod a![/itex] for the case a = b, but for the case b > a, you get the RHS to be [itex](1 + c! + b(b-1)...(b-(a+1)) \mod a![/itex], I think.

And the LHS in the case b > a is [itex]b! \mod a![/itex] OR [itex]a!*b(b-1)...(b - (a+1)) \mod a![/itex]?
 
Last edited:
  • #10
Isn't b!=0 (mod a!) ??
 
  • #11
How did you get the remainder to be 0...? What happened to the c?

I thought that if a = b then [itex]b \leq c[/itex] as, for the case a = b, you get [itex]b! = (2 + c!) \mod a![/itex], so [itex]b \leq c[/itex]?
 

1. What is a positive integer solution?

A positive integer solution is a set of whole numbers that satisfies a given equation or inequality. In this case, we are looking for values of a, b, and c that make the equation a!b!=a!+b!+c! true.

2. How do you solve a factorial equation?

To solve a factorial equation, you can use algebraic manipulation and basic arithmetic operations to isolate the variable and simplify the equation. In this specific equation, we can use the fact that a!b! can be written as (a*b)! to simplify the equation and find the values of a, b, and c.

3. What are the possible solutions for the equation a!b!=a!+b!+c!?

There are infinitely many possible solutions for this equation, as there are infinite combinations of positive integers a, b, and c that can make the equation true. Some possible solutions include a=2, b=3, c=5 and a=4, b=3, c=10.

4. Can the equation have negative or non-integer solutions?

No, the equation specifically asks for positive integer solutions, so negative or non-integer solutions would not be considered valid.

5. Are there any patterns or shortcuts for solving this type of equation?

Yes, there are some patterns and shortcuts that can be used to solve factorial equations. For example, in this equation, we can use the fact that a!b! can be written as (a*b)! to simplify the equation. Additionally, using prime factorization can help identify common factors and simplify the equation further.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
2
Views
969
  • Precalculus Mathematics Homework Help
Replies
21
Views
622
  • Precalculus Mathematics Homework Help
Replies
7
Views
934
Replies
19
Views
719
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
743
  • Precalculus Mathematics Homework Help
Replies
18
Views
567
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
1
Views
524
  • Precalculus Mathematics Homework Help
Replies
5
Views
1K
Back
Top