able to find factor, need to refine prime number formula