Problem

Source: 2022 Turkey JBMO TST P8

Tags: number theory, prime numbers, number of divisors



Find all prime numbers $p$ such that the number $$3^p+4^p+5^p+9^p-98$$has at most $6$ positive divisors.