Join WhatsApp Icon JEE WhatsApp Group
Question 7

The number of values positive integers $$n$$ for which $$1!+2!+\cdots+n!$$ is a perfect square is

For $$n=1$$ and $$n=3$$, the sums are $$1$$ and $$9$$, which are perfect squares, while the sums for $$n=2$$ and $$n=4$$ are $$3$$ and $$33$$. For every $$n\geq5$$, all later factorials are divisible by $$120$$, so the sum is congruent to $$33\pmod{120}$$. Since $$33$$ is not a quadratic residue modulo $$120$$, no further values work, giving exactly $$2$$ values.

Get AI Help

50,000+ JEE Students Trusted Our Score Calculator

Predict your JEE Main percentile, rank & performance in seconds

Ask AI