2024 AMC 10 Problems/Problem 1

Let $a$ and $b$ be integers such that $a^2-b^2=4.$ What is the probability that $c\in(x, y].$