# A Decade of Divisibility

Let $N = 2017 \times 2027.$ Find the remainder when $2017^{2026} + 2027^{2016} - 1$ is divided by $N.$

Note: $2017$ and $2027$ are both prime numbers.

×