Problem

Source: 2024 Turkey TST P4

Tags: number theory, modular arithmetic, Olympiad Number Theory, Perfect Squares, factorial



Find all positive integer pairs $(a,b)$ such that, $$\frac{10^{a!} - 3^b +1}{2^a}$$is a perfect square.