dynamic prime number