A doubly prime numbers generator