Show that if $n\equiv 3\pmod{4}$, then $n$ has a prime factor $p\equiv 3\pmod{4}$
My approach:
By definition any composite number can be represented as a product of primes, so let $n=p_1\cdots p_k$. $$p_1\cdots p_k \equiv 3\pmod{4}$$
If there is not such prime number then all primes are congruent to either 1 or 2 mod 4 which can't be possible hence there is no way to get $3\pmod{4}$ by multiplying something 1 or 2 $\pmod{4}$
I think this is very informal, so I am just wondering if there is a way to express my idea with a better mathematical argument