Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Jamie M <jmorken@shaw.ca> |
|---|---|
| Newsgroups | sci.math |
| Subject | Re: formula to calculate the nth prime |
| Date | 2018-02-16 11:52 -0800 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <p67cp7$5a4$1@gioia.aioe.org> (permalink) |
| References | <p663sv$1og2$1@gioia.aioe.org> <f1fa04c6-78a6-4c87-8d33-bfbd43940915@googlegroups.com> |
On 2/16/2018 4:12 AM, Pubkeybreaker wrote: > On Friday, February 16, 2018 at 3:14:30 AM UTC-5, Jamie M wrote: >> Hi, >> >> Here is a formula to calculate the n-th prime, given >> the primes less than the n-th prime: >> >> primorial(n) - >> (2*((EulerPhi(primorial(n)))+(EulerPhi(primorial(n))-(1/2*(primorial(n-1))))+(EulerPhi(primorial(n))-(primorial(n-1))))) >> = 2*primorial(n-2). >> >> >> For example for x=7 and x=11 the formulas are: >> >> 2*3*5*x - (2*(((3-1)*(5-1)*(x-1)) + (((3-1)*(5-1)*(x-1))-(1/2*(2*3*5)) + >> (((3-1)*(5-1)*(x-1))-(2*3*5)) = 2*(2*3) >> x=7 >> >> >> 2*3*5*7*x - (2*(((3-1)*(5-1)*(7-1)*(x-1)) + >> (((3-1)*(5-1)*(7-1)*(x-1))-(1/2*(2*3*5*7)) + >> (((3-1)*(5-1)*(7-1)*(x-1))-(2*3*5*7)) = 2*(2*3*5) >> x=11 >> >> This obviously isn't a very efficient formula but I was wondering if it >> is possible to find a larger prime with algebra given only smaller >> primes and yep it is! :D >> >> cheers, >> Jamie > > Many such formulae are known. See, e.g. Paulo Ribenboim's books on prime numbers. He wrote several and they give such formulae. > > None of them are at all useful for computation. > Hi, Does he give a formula to generate all prime numbers? I can't access his book, could you send one of the formulas? cheers, Jamie
Back to sci.math | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
formula to calculate the nth prime Jamie M <jmorken@shaw.ca> - 2018-02-16 00:14 -0800
Re: formula to calculate the nth prime Pubkeybreaker <pubkeybreaker@aol.com> - 2018-02-16 04:12 -0800
Re: formula to calculate the nth prime Jamie M <jmorken@shaw.ca> - 2018-02-16 11:52 -0800
Re: formula to calculate the nth prime Jim Burns <james.g.burns@att.net> - 2018-02-16 13:31 -0500
Re: formula to calculate the nth prime Jamie M <jmorken@shaw.ca> - 2018-02-16 11:59 -0800
Re: formula to calculate the nth prime Jamie M <jmorken@shaw.ca> - 2018-02-16 12:40 -0800
Re: formula to calculate the nth prime Jim Burns <james.g.burns@att.net> - 2018-02-17 11:06 -0500
Re: formula to calculate the nth prime Simon Roberts <retenshun@gmail.com> - 2018-02-17 08:34 -0800
Re: formula to calculate the nth prime Simon Roberts <retenshun@gmail.com> - 2018-02-18 14:49 -0800
Re: formula to calculate the nth prime Jamie M <jmorken@shaw.ca> - 2018-02-18 18:43 -0800
Re: formula to calculate the nth prime Simon Roberts <retenshun@gmail.com> - 2018-02-18 19:02 -0800
Re: formula to calculate the nth prime Jamie M <jmorken@shaw.ca> - 2018-02-18 20:37 -0800
Re: formula to calculate the nth prime Simon Roberts <retenshun@gmail.com> - 2018-02-18 20:54 -0800
Re: formula to calculate the nth prime Jamie M <jmorken@shaw.ca> - 2018-02-18 23:06 -0800
Re: formula to calculate the nth prime Jamie M <jmorken@shaw.ca> - 2018-02-19 00:30 -0800
Re: formula to calculate the nth prime Jim Burns <james.g.burns@att.net> - 2018-02-19 11:40 -0500
Re: formula to calculate the nth prime Simon Roberts <retenshun@gmail.com> - 2018-02-19 08:55 -0800
Re: formula to calculate the nth prime Jamie M <jmorken@shaw.ca> - 2018-02-20 22:30 -0800
Re: formula to calculate the nth prime Jamie M <jmorken@shaw.ca> - 2018-02-16 13:06 -0800
Re: formula to calculate the nth prime M Philbrook <jamie_ka1lpa@charter.net> - 2018-02-17 08:57 -0500
Re: formula to calculate the nth prime "Kevin Aylward" <kevinRemovAT@kevinaylward.co.uk> - 2018-02-16 20:21 +0000
Re: formula to calculate the nth prime Jamie M <jmorken@shaw.ca> - 2018-02-16 13:20 -0800
csiph-web