Problem

Source: Mathematics Regional Olympiad of Mexico Southeast 2020 P1

Tags: number theory



Find all natural numbers n, such that 3 divides the number n2n+1.