This is PrimeFinder It works by dividing every number except 1 and itself, if any divided number is whole, it is composite. Idea from @GarboMuffin 16 Frame Scratch Cat from @griffpatch Update: Speed up is using @GarboMuffin's faster script.