Problem

Source: Brazil EGMO TST 2021 #8

Tags: number theory



Let $n$ be a positive integer, such that $125n+22$ is a power of $3$. Prove that $125n+29$ has a prime factor greater than $100$.