I have recently thought of a formula that produces prime numbers. I haven't fully studied it yet but I have came up with many other different relations as well. For example:
Let n be an odd number
n^2 - (n-1)^2 is a prime
I don't know if anyone have seen this before but I certainly haven't so would love to hear from anyone else who have seen this and similar relations.