Olympiad workbookIOQMFunctions
Let n be a positive integer such that 1 n 1000 . Let M_n be the number of integers in the set X_n= 4 n+1 , 4 n+2 , ., 4 n+1000 . Let a= M_n: 1 n 1000 and b= M_n: 1 n 1000 . Find a-b .
Correct answer
22
Step-by-step solution
The spacing of square is less when n is greatest and spacing of square is more when n is less then aligned & a=M₁ and b=M₁₀₀₀ & a=29 and b=7 & a-b=29-7=22 aligned