JF's calculations for PRIME numbers