Problem

Source: Cyprus 2021Junior TST-3 Problem 1

Tags: Divisibility, number theory



Find all positive integers $n$, such that the number \[ \frac{n^{2021}+101}{n^2+n+1}\]is an integer.