Can the Sum of Factorials Ever be a Complete Square?

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 2K views
Karamata
Messages
59
Reaction score
0

Homework Statement


Proof that for [tex]n\geq 5[/tex] expression [tex]\sum_{i=1}^{n}i![/tex] can't be a complete square


The Attempt at a Solution


Mathematical induction maybe?
[tex]n=5[/tex] [tex]\sum_{i=1}^{5}i!=1+2!+3!+4!+5!=152[/tex] OK
[tex]n\rightarrow n+1[/tex] [tex]\sum_{i=1}^{n+1}i!=\sum_{i=1}^{n}i!+(n+1)![/tex]
...
One guy said that
Complete square divided by 5 can give the remains 0,1 and 4, but not 3 like here.
But, I don't understand him.

Sorry for bad English.
 
Physics news on Phys.org
1+2+6+24+120 = 153 right?
subsequent factorials are all divisible by 10, so dividing by 5 will always give the remainder 3.