Problem

Source: Kosovo Math Olympiad 2025, Grade 11, Problem 3

Tags: number theory, decimal representation, powers, Kosovo



Find all pairs of natural numbers $(m,n)$ such that the number $5^m+6^n$ has all same digits when written in decimal representation.