1. Understanding the Problem:
We need to find the number of ordered 2011-tuples of positive integers (a1,a2,…,a2011) such that there exists a polynomial f of degree 4019 satisfying:
- f(n) is an integer for every integer n,
- 20112∣f(i)−ai for i=1,2,…,2011,
- 20112∣f(n+2011)−f(n) for every integer n.
2. Polynomial Properties:
- Since f(n) is an integer for every integer n, f must be a polynomial with integer coefficients.
- The condition 20112∣f(i)−ai implies that f(i)≡ai(mod20112).
- The condition 20112∣f(n+2011)−f(n) implies that f(n+2011)≡f(n)(mod20112).
3. **Analyzing the Polynomial f:**
- The condition f(n+2011)≡f(n)(mod20112) suggests that f(x) is periodic with period 2011 modulo 20112.
- This periodicity implies that f(x) can be written in a form that reflects this periodicity. Specifically, f(x) can be expressed as f(x)=g(x)+20112h(x), where g(x) is a polynomial of degree at most 4019 and h(x) is some polynomial.
4. Counting the Number of Valid Polynomials:
- To satisfy 20112∣f(n+2011)−f(n), the polynomial f(x) must be such that f(x+2011)−f(x) is divisible by 20112.
- This implies that the coefficients of f(x) must be chosen such that the difference f(x+2011)−f(x) is zero modulo 20112.
5. Using Polynomial Properties:
- Given f(x)=a4019x4019+a4018x4018+⋯+a1x+a0, the condition f(x+2011)≡f(x)(mod20112) must hold.
- This implies that each coefficient ai must be chosen such that the polynomial remains invariant under the transformation x→x+2011 modulo 20112.
6. Counting the Number of Solutions:
- The number of such polynomials f(x) modulo 20112 is determined by the number of ways to choose the coefficients ai such that the periodicity condition is satisfied.
- Since each ai can take on 20112 different values, and there are 4020 coefficients (from a0 to a4019), the total number of such polynomials is (20112)4020.
7. Finding the Remainder:
- We need to find the remainder when the number of such polynomials is divided by 1000.
- (20112)4020≡(20112mod1000)4020(mod1000).
- 2011≡11(mod1000), so 20112≡112=121(mod1000).
- Therefore, (20112)4020≡1214020(mod1000).
8. Simplifying the Exponentiation:
- We need to compute 1214020mod1000.
- Using Euler's theorem, since ϕ(1000)=400, we have 121400≡1(mod1000).
- Thus, 1214020=(121400)10⋅12120≡110⋅12120≡12120(mod1000).
9. Final Calculation:
- We need to compute 12120mod1000.
- Using repeated squaring:
- 1212=14641≡641(mod1000),
- 6412=410881≡881(mod1000),
- 8812=776161≡161(mod1000),
- 1612=25921≡921(mod1000),
- 9212=848241≡241(mod1000),
- 2412=58081≡81(mod1000),
- 812=6561≡561(mod1000),
- 5612=314721≡721(mod1000),
- 7212=519841≡841(mod1000),
- 8412=707281≡281(mod1000).
10. Conclusion:
- Therefore, 12120≡281(mod1000).
The final answer is 281.