Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Prime

Name: Anonymous 2007-08-20 17:57 ID:BUq/3QWA

Is there a function f such that y=f(x) will produce a prime number y for any real x?

Name: Anonymous 2007-08-22 2:20 ID:XgPud844

>>1
Your question is often phrased "...such that p(n) will produce the n-th prime number for any integer n" to avoid ownage by >>7 and >>8.

And the answer is yes. Here it is:

p(n) = {
2 _ n=1
3 _ n=2
5 _ n=3
.
.
.

Perhaps you should be asking whether such a function can be defined algebraically.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List