Saturday, 31 January 2015

elementary number theory - Find the remainder for sumni=1(1)icdoti! when dividing by 36 forallninBbbN



I need to find the remainder nN when dividing by 36 of:



ni=1(1)ii!



I should use congruence or the definitions of integer division as that's whave we've seen so far in the course. I don't know where to start. Any suggestions? Thanks!


Answer



Hint:




For n6 one has:



ni=1(1)ii!=5i=1(1)ii!+ni=6(1)ii!



Next, notice that for all i6 one has i!=123456(i1)i




implying that for i6 one has 36 divides evenly into i!. What does the right sum contribute to the remainder when divided by 36 then?





From here it should be easy enough to brute force the remainder of the solution.


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find lim without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...