Problem

Source: All-Russian Olympiad 2018

Tags: number theory



$a$ and $b$ are given positive integers. Prove that there are infinitely many positive integers $n$ such that $n^b+1$ doesn't divide $a^n+1$.