MathDB
Equation with powers and factorials

Source: IMOC 2023 N2

September 9, 2023
factorialnumber theory

Problem Statement

Find all pairs of positive integers (a,b)(a, b) such that ab+ba=a!+b2+ab+1a^b+b^a=a!+b^2+ab+1.