Divisibilitymedium
0:00.0

Find the smallest positive integer nn such that n2(mod5)n ≡ 2 \pmod{5} and n4(mod7)n ≡ 4 \pmod{7}.