I have been working at a formula, be it a straight function or a recursive formula, that given n, will generate the nth prime number. Thus far I have had little luck, and I tried Google, but haven't found anything there.

Does anyone know where I can find a formula or set of formulas to solve my problem???