Skip to main content

1994 AIME Problem 3

Problem 3 of 15EasierAlgebraNumber Theory

The function ff has the property that, for each real number x,x, f(x)+f(x−1)=x2.f(x)+f(x-1)=x^2. If f(19)=94,f(19)=94, what is the remainder when f(94)f(94) is divided by 1000?1000?

Your answer

Integer from 0 to 999
Show solution

Solution

First f(20)=202−f(19)=306.f(20)=20^2-f(19)=306. Subtracting through two steps gives f(x)=x2−(x−1)2+f(x−2)=2x−1+f(x−2).\begin{aligned}f(x)&=x^2-(x-1)^2+f(x-2)\\&=2x-1+f(x-2).\end{aligned} Therefore f(94)=306+∑j=1147(4j−1)=306+4(1073)−37=4561.\begin{aligned}f(94)&=306+\sum_{j=11}^{47}(4j-1)\\&=306+4(1073)-37\\&=4561.\end{aligned} The requested remainder is 561.561.
AoPS wiki

Tagged: recursion · summation · modular arithmetic

More practice