Just want to know if there are applications in the derivation of prime numbers. My instructor and the textbook that we are using seems to be obsessed with it, there is at least one problem about deriving prime numbers in each chapter. And also different versions like palindromic prime, emirp, mersenne prime, twin primes etc. I am starting to be fascinated myself. Is it just because solving primes(and variations of it) can be tough or is there a real world application?