MathDB
find positive n so that exists prime p with p^n-(p-1)^n$ a power of 3

Source: JBMO Shortlist 2017 NT5

July 25, 2018
number theoryPowerpositive integerprime

Problem Statement

Find all positive integers nn such that there exists a prime number pp, such that pn(p1)np^n-(p-1)^n is a power of 33.
Note. A power of 33 is a number of the form 3a3^a where aa is a positive integer.