Find the sum of all of the integers in the set {−18,27,54,254,754,1036,3254} that are congruent to 6 modulo 8.
−18≡−2≡6(mod8)27≡3≢6(mod8)54≡6≡6(mod8)254≡6≡6(mod8)754≡2≢6(mod8)1036≡4≢6(mod8)3254≡6≡6(mod8)
the sum is -18 + 54 + 254 + 3254 = 3544