Problem

Source: Kosovo Mathematical Olympiad 2022, Grade 12, Problem 4

Tags: number theory



Find all positive integers $k,m$ and $n$ such that $k!+3^m=3^n$