How do i find values of parameter $m ∈ N$ so that the congruence
$ 5920x ≡ 160 (56m) $
admits solutions?
The only way i found to solve this problem is by looking at factors, and i found that $m$ must be different from $37k$ where $k$ is any positive integer, because the coungruence has solution if and only if $gcd(a,m)$ divides $b$, which is not true if $m =37k$
Better explained:
$5920 = 2^5*5*37$
$160 = 2^5*5$
$56m = 2^3*7*m$
so $gcd(5920,56m) | 160$ if $m$ does not have $37$ as factor.
Is that wrong? And which way is more straightforward for solving this kind of problem?