Find the sum of all integers m that are less than 1000 and equal to n!+1−−−−−√ for some positive integer n.

It's 87... I'm not going to explain it... it's complicated... Spend some points and look at the ANSWER OR STUDY THIS TECHNIQUE:

Cases (Checking Cases), Recurrence Relation