MathDB
n^2+n+1 divides n^2021 + 101

Source: Cyprus 2021Junior TST-3 Problem 1

May 19, 2021
Divisibilitynumber theory

Problem Statement

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