Let $f(N)$ be the number of points with integer coordinates that are on a circle passing through $(0,0)$, $(N,0)$,$(0,N)$, and $(N,N)$.
It can be shown that $f(325) = 60$.
What is the sum of all positive integers $x \le 2^N$ such that $f(x) = 60$?