Is there such a fuction of the form which returns the prime number? The function would be such that:

.

.

.

.

I think the idea is clear. Is there such a function? Or reasearch on such a function?

Printable View

- June 9th 2010, 07:38 AMmfetch22A prime returning function?
Is there such a fuction of the form which returns the prime number? The function would be such that:

.

.

.

.

I think the idea is clear. Is there such a function? Or reasearch on such a function? - June 9th 2010, 07:48 AMundefined
If you don't need to go very high, you could write a sieve. Here's a website that allows you to find the nth prime for n up to .

- June 9th 2010, 08:13 AMchiph588@
Formula for primes - Wikipedia, the free encyclopedia

This is as close as you can get to a true prime number formula. - June 9th 2010, 08:22 AMundefined
- June 9th 2010, 08:23 AMBruno J.
Of much interest is also Riemann's "explicit formula"!