Problem

Source: Kyiv City MO 2025 Round 1, Problem 8.5

Tags: number theory



Find all quadruples of positive integers \( (a, p, q, r) \), where \( p, q, r \) are prime numbers, such that the following equation holds: \[ p^2q^2 + q^2r^2 + r^2p^2 + 3 = 4 \cdot 13^a. \] Proposed by Oleksii Masalitin