p47 in python
my math returning sieve on generating it