[Math] the remainder when 1!+2!+3!+4!+5!+…….+50! is divided by 5!

number theory

What is the remainder when 1!+2!+3!+4!+5!+…….+50! is divided by 5!

My Approach

$1$+$2$+$6$+$24$+$5$!/$5$!+$6 . 5$!/$5$!+$7$ .$6$ . $5$!/$5$!….so on

$33$+$1$+$6$+$42$+……

I am not getting the correct answer as the solution is getting complex.

Can anyone guide me how to approach the problem?

Best Answer

Hint: Terms of $5!$ onwards are divisble by $5!$, so you only need the remainer of $1! +2!+3!+4!$.