a + b + (gcd (a, b))^ 2 = lcm (a, b) = 2 \cdot lcm(a -1, b)
Source: Czech-Polish-Slovak Junior Match 2015, Team p4 CPSJ
March 19, 2020
LCMGCDnumber theory
Problem Statement
Determine all such pairs pf positive integers such that , where denotes the smallest common multiple, and denotes the greatest common divisor of numbers .