MathDB
2017 Discrete #6

Source:

October 12, 2022
2017Discrete Math Test

Problem Statement

The sum n=02016201722018n\sum_{n=0}^{2016\cdot2017^2}2018^n can be represented uniquely in the form i=0ai2017i\sum_{i=0}^{\infty}a_i\cdot2017^i for nonnegative integers aia_i less than 20172017. Compute a0+a1a_0+a_1.