Problem:
Find the number of positive integers n less than 2017 such that
1+n+2!n2β+3!n3β+4!n4β+5!n5β+6!n6β
is an integer.
Solution:
The sum 2!n2β+3!n3β+4!n4β+5!n5β+6!n6β is an integer if and only if multiplying the sum by 6! gives an integer M=360n2+120n3+30n4+6n5+n6 that is divisible by 720.
This means that n6 must be divisible by 6. Suppose n=6k for some positive integer k. Then M=360β
62k2+120β
63k3+30β
64k4+66k5+66k6, which is divisible by 720 if and only if k5+k6 is divisible by 5. This happens exactly when either k or k+1 is a multiple of 5. Thus n must be either a multiple of 30 or 6 less than a multiple of 30. The possible values of n are 30m, where 1β€mβ€67, and 30mβ6, where 1β€mβ€67. There are 134β such values.
The problems on this page are the property of the MAA's American Mathematics Competitions