I am currently writing a math paper for school regarding RSA encryption my focus lies on the importance of prime and co-prime numbers within the algorithm.
I understand that this is a "trap-door" algorithm which means that it is difficult to find the prime factors of a large number n as non-quantum computers without the correct algorithm are unable to perform this within a reasonable amount of time. However, if you have the prime factors of the number n it is simple to apply the algorithm.
Currently, I have looked at another question which gave me a deeper insight into the topic but I feel although there is crucial information missing.
Hence, my question is whether there is something I could add to increase the complexity of my answer with regards to why prime and co-prime numbers are of such importance in encryption (more specifically RSA).