Are there any other sums of n consecutive factorials that sum up to a perfect square?
Either list them all or prove there are none.
(In reply to re(4): If you don't have to start with 1 ...
After further review, looking mod 7 does work, I just made a miscalculation in the remainder of the partial sum from 0 to 6.
0!+1!+...+6!=874=6 mod 7
the possible remainders for squares mod 7 is [0,1,2,4] and thus no further solutions are possible.
To redeem myself I ran this python code to try and find a base that works because I had assume 7 would fail
for x in range(10):
rems=[(y*y)%b for y in range(b)]
if r not in rems:
What is interesting is that it showed 4 is also a valid base where the only possible remainders for squares are 0 and 1 and the sum 0!+1!+2!+3!=10=2 mod 4.
Posted by Daniel
on 2018-06-26 20:36:47