Calculator for prime factors of numbers