Find the number of positive integer triplets of $(a, m,n) $ satisfying

- $a,m,n \leq 2018$
- $a \geq 2$ and $m\geq 2$ such that $a^n + 203$ is a multiple of $a^m + 1$ and a is not equal to $203$

Login to submit

**MathMash** Copyright 2018-2019 **Nayeemul Islam Swad**