Factorial Equation

a ! b ! = a ! + b ! + c ! \large a! b!=a!+b!+c!

Let all the triplets of positive integer solutions ( a , b , c ) (a,b,c) satisfying the equation above be ( a 1 , b 1 , c 1 ) , ( a 2 , b 2 , c 2 ) , , ( a n , b n , c n ) (a_1, b_1, c_1), (a_2, b_2, c_2) , \ldots , (a_n , b_n, c_n) . Find ( a 1 + b 1 + c 1 ) + ( a 2 + b 2 + c 2 ) + + ( a n + b n + c n ) . (a_1 + b_1 + c_1) + (a_2 + b_2+c_2) + \cdots + (a_n + b_n + c_n) .

Notation: ! ! is the factorial notation. For example, 8 ! = 1 × 2 × 3 × × 8 8! = 1\times2\times3\times\cdots\times8 .


The answer is 10.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Sharky Kesa
Oct 25, 2016

I posted this problem on Brilliant a few months back here so -_-.

Firstly, a , b > 1 a,b > 1 , which can be proven by trivially checking these cases. Now, we will prove that c a , b c \geq a, b . We have the following

a ! + b ! + c ! = a ! b ! c ! + 1 = a ! b ! a ! b ! + 1 c ! + 1 = ( a ! 1 ) ( b ! 1 ) a ! 1 c ! + 1 a ! 1 c ! + 1 a ! 2 c ! a c a 3 \begin{aligned} a!+b!+c!&=a!b!\\ \implies c!+1&=a!b!-a!-b!+1\\ \implies c!+1&=(a!-1)(b!-1)\\ \implies a!-1 &\mid c!+1\\ \implies a!-1 &\leq c!+1\\ \implies a!-2 &\leq c!\\ \implies a &\leq c \quad \forall a\geq 3 \end{aligned}

Similarly, this can be proved for b b . Thus, c a , b c \geq a, b if they are both 3 \geq 3 . If a = 2 a=2 , we have b ! 1 = c ! + 1 b!-1 = c!+1 , which isn't satisfied for any integral b , c b, c . Same applies if b = 2 b=2 . Thus, a , b > 2 a, b > 2 . We will now prove a = b a=b . We have

a ! + b ! + c ! = a ! b ! b ! + c ! = a ! b ! a ! b ! ( 1 + c ! b ! ) = a ! ( b ! 1 ) gcd ( b ! , b ! 1 ) = 1 b ! a ! \begin{aligned}a!+b!+c!&=a!b!\\ \implies b!+c!&=a!b!-a!\\ \implies b!(1+\frac{c!}{b!})&=a!(b!-1)\\ \gcd (b!, b!-1)=1 \implies b! &\mid a! \end{aligned}

Similarly, we can prove a ! b ! a! \mid b! . Thus, a ! = b ! a!=b! , so a = b a=b . We now have

2 a ! + c ! = a ! 2 c ! = a ! ( a ! 2 ) \begin{aligned} 2a! + c! &= a!^2\\ c! &= a!(a!-2) \end{aligned}

Firstly, note that a < c a < c . Next, we will prove that the product of n n consecutive numbers is divisible by n ! n! . But this is almost trivially true by looking at binomial coefficients:

( k + n k ) = ( k + n ) ! k ! n ! = ( k + 1 ) ( k + 2 ) ( k + n ) n ! \begin{aligned} \dbinom{k+n}{k} &= \dfrac {(k+n)!}{k!n!}\\ &= \dfrac {(k+1)(k+2)\ldots(k+n)}{n!} \end{aligned}

Since all binomial coefficients are integers, it follows that the product of n n consecutive numbers is divisible by n ! n! .

Using this, we have

c ! a ! = a ! 2 ( a + 1 ) ( a + 2 ) ( c ) = a ! 2 ( c a ) ! a ! 2 \begin{aligned} \dfrac {c!}{a!} &= a! - 2\\ (a+1)(a+2)\ldots (c) &= a!-2\\ \implies (c-a)! &\mid a!-2 \end{aligned}

However, we have that a ! 2 2 ( m o d 4 ) a! - 2 \equiv 2 \pmod{4} if a 4 a \geq 4 . Thus, 4 ∤ ( c a ) ! 4 \not \mid (c-a)! , so c a 3 c-a \leq 3 . We will now consider each of the cases:

Case 1: c = a + 1 c=a+1

We have

a + 1 = a ! 2 3 = a ( ( a 1 ) ! 1 ) a = 3 \begin{aligned} a+1 &= a!-2\\ 3 &= a((a-1)!-1)\\ \implies a &= 3 \end{aligned}

The value of a a we pertain from the factorisation of the LHS, using a 3 a \geq 3 . Checking, we find this to be true, so we get c = 4 c=4 . Thus, one such solution is ( 3 , 3 , 4 ) (3, 3, 4) .

Case 2: c = a + 2 c=a+2

We have

( a + 1 ) ( a + 2 ) = a ! 2 4 = a ( ( a 1 ) ! a 3 ) a = 4 \begin{aligned} (a+1)(a+2) &= a! - 2\\ 4 &= a((a-1)! - a - 3)\\ \implies a&= 4 \end{aligned}

However, when we check the inside of the bracket in the RHS, we find that the value of a a doesn't satisfy. Thus, no solutions in this case.

Case 3: c = a + 3 c=a+3

We have

( a + 1 ) ( a + 2 ) ( a + 3 ) = a ! 2 8 = a ( ( a 1 ) ! a 2 6 a 11 ) a = 8 , 4 \begin{aligned} (a+1)(a+2)(a+3) &= a! - 2\\ 8 &= a((a-1)! - a^2 - 6a - 11)\\ \implies a&= 8, 4 \end{aligned}

However, when we check the inside of the bracket in the RHS, we find that neither values of a a doesn't satisfy. Thus, no solutions in this case.

Thus, the only solution is ( 3 , 3 , 4 ) (3, 3, 4) . Therefore, the answer is 3 + 3 + 4 = 10 3+3+4=10 .

Note: We do not consider the alternate case when a < 4 a < 4 , since it implies a = 3 a=3 , which is covered above.

Oops! I'm so sorry I didn't know about that. Want me to delete this problem? Really sorry again.

Timothy Ong - 4 years, 7 months ago

Log in to reply

Nah, don't worry about it. Just stating that it was done before. :)

Sharky Kesa - 4 years, 7 months ago

Log in to reply

It was done even earlier before! It was BMO1 2002-03 Q5

Freddie Hand - 4 years, 4 months ago

Log in to reply

@Freddie Hand Damn, I got inspired to create this problem from IMO 2014 SL N2.

Sharky Kesa - 4 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...