2018 AIME II Problem 2
Problem 2 of 15EasierAlgebraNumber TheoryProblem-Solving Techniques
Let and and for define recursively to be the remainder when is divided by Find
Your answer
Integer from 0 to 999
Show solution
Solution
Computing successive terms gives Since and each term depends only on the previous three, the sequence is periodic with period
Therefore and so the product is
Tagged: recursion · modular arithmetic · pattern recognition