There is no such thing as a special category of science called applied science; there is science and its applications, which are related to one another as the fruit is related to the tree that has borne it.
Prime numbers are what is left when you have taken all the patterns away. I think prime numbers are like life. They are very logical but you could never work out the rules, even if you spent all your time thinking about them.