Non factors of factorials

in non factors of factorials should i memorize prime numbers till what number?

First 25 prime numbers is okay.

Supplement this with How to check for Primality