Problem Archive

There is a unique sequence of integers $a_n$ such that

For example, $a_{13} = 23321$ and $a_{1003} \equiv 231906014 \pmod{1234567891}$.

For $n = 10^{18} + 3$, find $a_n \bmod 1234567891$.

Solution
No solution yet. Write yours at solutions/s999.md.
Problems sourced from Project Euler · Non-commercial & educational use only · CC BY-NC-SA 4.0