2005 AMC 10B Problems/Problem 22
Problem
For how many positive integers n less than or equal to 24 is n! evenly divisible by 1 + 2 + ... + n?
Solution
Since , the condition is equivalent to having an integer value for . This reduces, when , to having an integer value for . This fraction is an integer unless is an odd prime. There are 8 odd primes less than or equal to 25, so there are numbers less than or equal to 24 that satisfy the condition.