MathDB
Nice divisibility involving powers of 3

Source: Komal A 818

March 19, 2022
number theory

Problem Statement

Find all pairs of positive integers m,nm, n such that 9mn+3mn+19^{|m-n|}+3^{|m-n|}+1 is divisible by mm and nn simultaneously.