Right on the heals of 21-30 comes 31-40. These problems began to delve
into mathematics, with a great emphasis on prime numbers and their
generation. Quite interesting to work with, since prime numbers are the
basis behind encryption of any non-trivial strength. Enjoy: