factors.py: increase upper limit to 1 quadrillion