Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

algebra intermediate

Problem

Consider the sequence defined by for . Given that , for positive integers and with , find .
Solution
Note that for each Thus, the sum telescopes: Therefore, we have the equation Multiplying by on both sides, we have or Subtracting from both sides, we get Since is prime and the only possibility is and which gives and Thus,
Final answer
840