For fixed n there are clearly finitely many solutions; we will show that there is no solution with n>100. So assume n>100. By AM-GM inequality,
n!=2n(n−1)(n−2)(n−3)⋅(3⋅4⋯(n−4))≤2(n−1)4(n−63+⋯+(n−4))n−6=2(n−1)4(2n−1)n−6<(2n−1)n−1,
thus a,b,c<2n−1.
For every prime p and integer m=0, let νp(m) denote the p-adic valuation of m; that is the greatest non-negative integer k for which pk divides m. Legendre's formula states that
νp(n!)<s=1∑∞psn=p−1n.(1)
If n is odd then an−1,bn−1,cn−1 are squares, and by considering them modulo 4 we conclude that a,b,c must be even. hence, 2n−1∣n! but that is impossible for odd n because ν2(n!)=ν2((n−1)!)<n−1 by (1). From now on we assume that n is even. If all three numbers a+b,b+c,c+a are powers of 2 then a,b,c have the same parity. If they are all odd, then n!=an−1+bn−1+cn−1 is also odd, contradicting the assumption that n must be even. If all a,b,c are divisible by 4, this contradicts ν2(n!)≤n−1. If, say, a is not divisible by 4, then 2a=(a+b)+(a+c)−(b+c) is not divisible by 8, and since all a+b,b+c,c+a are powers of 2 we get that one of these sums equals 4, so two of the numbers of a,b,c are equal to 2. Say a=b=2, then c=2r−2 and since c∣n!, we must have c∣an−1+bn−1=2n implying r=2, and so c=2, which is impossible because n!≡0≡3⋅2n−1(mod5).
So now we assume that the sum of two numbers among a,b,c, say a+b, is not a power of 2, so it is divisible by some odd prime p. Then p≤a+b<n and so cn−1=n!−(an−1+bn−1) is divisible by p. If p divides a and b, we get pn−1∣n!,
contradicting (1). Next, using (1) and the Lifting the Exponent Lemma we get
νp(1)+νp(2)+⋯+νp(n)=νp(n!)=νp(n!−cn−1)=νp(an−1+bn−1)=νp(a+b)+νp(n−1).(2)
In view of (2), no number of 1,2,…,n can be divisible by p, except a+b and n−1>a+b. On the other hand, p∣c implies that p<n/2 and so there must be at least two such numbers. Hence, there are two multiples of p among 1,2,…,n, namely a+b=p and n−1=2p. But this is another contradiction because n−1 is odd. This final contradiction shows that there is no solution of the equation for n>100.