Skip to main content
OlympiadHQ

Browse · harp

Print

imc

number theory intermediate

Problem

Define a sequence recursively by and the remainder when is divided by for all Thus the sequence starts What is
(A)
(B)
(C)
(D)
Solution
A pattern starts to emerge as the function is continued. The repeating pattern is The problem asks for the sum of eight consecutive terms in the sequence. Because there are eight numbers in the repeating pattern, we just need to find the sum of the numbers in the sequence, which is
Final answer
D