primes are generally 1 higher or lower than a multiple of 6 except for 2 and 3, which are factors of 6. the only rule is, if it is divisible by another number that is also 1 higher or lower than 6, then it is not prime
what if it's divisible by another number that is not next to a multiple of 6...... did you think of that