Problem 5
Determine all sequences of positive integers with such that for all integers : (i) is divisible by ; (ii) , where .
Step 5 of 5: Identify and verify both families
Detailed analysis
The ratio at n=1 makes a_1 a multiple of three; write a_1=3c and induct to obtain the displayed formula. The condition at n=1 gives a_0=c plus or minus one. The lower bound on a_0 gives c at least 2014 in the plus case and at least 2016 in the minus case. Finally, using the factorial identity for the alternating sum verifies both families.