I'm writing a math paper on RSA and it would be nice if it had some calculus in it. Is RSA directly related to calculus in any manner? This can include proving theorems, generating keys, or cracking RSA.
The closest I found is the prime number theorem.
Method 1: AKS algorithm can be used to test primality of a number, and getting large prime number is needed in RSA. Now, in practice, AKS isn't used because it is inefficient at the size of prime we do care about, but of course, it's the best theoretically. The paper that introduce it, Prime is in P refers to a result from another paper, and once you look up the other paper, which is On Chebyshev-type inequalities for primes (this is not truely public access though, but lots of school have access to JStor, and I don't know any other way to access the article), you will find calculus being used, a bit, on polynomial. That is enough pretext for you to cram calculus into your paper.
Method 2: look for prime number theorem, which is a complex analysis result, but close enough to calculus. The excuse to talk about this is that it explains how we will practically never run out of primes number of the size we care about, as the prime number theorem estimate the number of primes and it's in fact reasonably large.