mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Miscellaneous Math (https://www.mersenneforum.org/forumdisplay.php?f=56)
-   -   "prime numbers formula" crankery (https://www.mersenneforum.org/showthread.php?t=11557)

Mini-Geek 2009-03-03 15:16

"prime numbers formula" crankery
 
[URL]http://www.primenumbersformula.com/[/URL]
:crank:
In classic crank fashion, it's hard to understand what he's trying to say, but I'm pretty sure he claims to have formulas for generating primes and Mersenne primes, has proved the infinitude of twin primes, and has solved the Riemann hypothesis.

cheesehead 2009-03-03 18:47

[quote=Mini-Geek;164500][URL]http://www.primenumbersformula.com/[/URL]
:crank:
In classic crank fashion, it's hard to understand what he's trying to say,[/quote]But let's be careful to separate the difficulty of understanding his noticeably-flawed English from the actual "crankness" of ideas/claims he presents.

[quote]but I'm pretty sure he claims to have formulas for generating primes and Mersenne primes, has proved the infinitude of twin primes, and has solved the Riemann hypothesis.[/quote]I don't see any claim of his to have proven the Riemann Hypothesis.

I do see references to "[FONT=Arial, Arial, Helvetica][COLOR=#0000cc]the solution of Riemann Zeta equation[/COLOR][/FONT]" and "[FONT=Arial, Arial, Helvetica][COLOR=#003300]solution to Riemann zeta equation ([IMG]http://www.primenumbersformula.com/aboutme_files/image038.gif[/IMG])[/COLOR][/FONT]", but those are not at all the same as claiming a proof of the Riemann Hypothesis. (The Riemann Hypothesis is a conjecture about a common property of all nontrivial zeros (solutions) of the zeta function.)

At least he credits GIMPS properly, though [I]without a single link (even in his "Favorite Links" section!) to us[/I]:

[quote][FONT=Arial, Arial, Helvetica][B][SIZE=2][COLOR=#000080]GIMPS, the Great Internet Mersenne Prime Search, was formed in January 1996 to discover new world-record-size Mersenne primes. GIMPS harnesses the power of thousands of small computers like yours to search for these "needles in a haystack".[/COLOR][/SIZE][/B][/FONT][FONT=Arial, Arial, Helvetica][B][SIZE=2][COLOR=#000080]
[/COLOR][/SIZE][/B][/FONT]
[FONT=Arial, Arial, Helvetica][B][SIZE=2][COLOR=#000080]Most GIMPS members join the search for the thrill of possibly discovering a record-setting, rare, and historic new Mersenne prime. Of course, there are many other reasons.[/COLOR][/SIZE][/B][/FONT][/quote]He does have multiple links to Chris Caldwell's pages. His section "Why do people find these primes?" is adapted from Caldwell's page with the same title, and credited properly thereto.

CRGreathouse 2009-03-03 20:11

His claim that generating a formula for the prime is a "2300-years old unsolvable problem" is a little wacky. It's been solved... over and over and over.

retina 2009-03-04 00:15

But the formula is posted there on the page in plain view. I would think it would by easy to find a non-prime generated by the formula.

[size=1]Although strange how it says "unsolvable problem" and then goes on to give a solution![/size]

Uncwilly 2009-03-04 01:27

Correct me if I am wrong, but, doesn't this simplify to:

H(m)=(2m+1)[sup]1[/sup]

?

retina 2009-03-04 01:38

[QUOTE=Uncwilly;164529]Correct me if I am wrong, but, doesn't this simplify to:

H(m)=(2m+1)[sup]1[/sup]

?[/QUOTE]Well, at this stage I am too lazy to program anything up to check it, but in the website it shows this sequence "3,5,7,2,11,13,2,17,19, ..." So assuming they applied their formula correctly (I Haven't checked), then it can't be a simple 2m+1.

bsquared 2009-03-04 02:10

[quote=Uncwilly;164529]Correct me if I am wrong, but, doesn't this simplify to:

H(m)=(2m+1)[sup]1[/sup]

?[/quote]

Not with those floor functions...

Here's excel code:

[CODE]=2*((2*B16+1)/2)^(FLOOR((2*B16+1)/(FACT(2*B16)+1)*FLOOR((FACT(2*B16)+1)/(2*B16+1),1),1))[/CODE]

The first counterexample I find is at m=12.

Jens K Andersen 2009-03-04 02:36

[QUOTE=bsquared;164536]
Here's excel code:[/QUOTE]

You probably have rounding errors. In PARI/GP the formula is:
H(m) = 2*((2*m+1)/2)^floor((2*m+1)/((2*m)!+1)*floor(((2*m)!+1)/(2*m+1)))

The formula is correct but useless. It uses Wilson's theorem and the floor function to give:
H(m) = 2m+1, if 2m+1 is prime
= 2, otherwise

Wilson's theorem says 2m+1 is prime iff (2m)!+1 is divisible by 2m+1.
Then floor((2*m+1)/((2*m)!+1)*floor(((2*m)!+1)/(2*m+1))) becomes 1 when 2m+1 is prime, and 0 when it's composite.

CRGreathouse 2009-03-04 02:59

The formula looks fine to me -- it should generate the odd primes in order, with 2 replacing each odd composite.

Edit: Jens Anderson beat me to it.

cheesehead 2009-03-04 02:59

[quote=Jens K Andersen;164538]The formula is correct but useless. It uses Wilson's theorem and the floor function to give:
H(m) = 2m+1, if 2m+1 is prime
= 2, otherwise

Wilson's theorem says 2m+1 is prime iff (2m)!+1 is divisible by 2m+1.
Then floor((2*m+1)/((2*m)!+1)*floor(((2*m)!+1)/(2*m+1))) becomes 1 when 2m+1 is prime, and 0 when it's composite.[/quote]Hmmm... Makes me wonder how:
[quote][FONT=Arial, Arial, Helvetica][B][COLOR=#0000ff]In Year of 2007 ([URL="http://www.aaas.org/programs/education/naas.shtml"]AAAS[/URL]) " [URL="http://astro.physics.sc.edu/NAAS/"]National Association Of Academies Of Science[/URL] " (USA) Awarded an A++ = Excellent grade to prime numbers formula and its results by prof.S.M.R.Hashemi Moosavi.[/COLOR][/B][/FONT][/quote]

retina 2009-03-04 10:42

It seems to me that this is more of prime testing formula than a function. They have taken a prime testing formula and manipulated the algebra to give you back the original prime you tested if it passes or 2 if it fails. It would be easy to change the '2' to any other number (like pi or e or i) to give a fixed value when the test fails.

Hmm, that has [url=http://mersenneforum.org/showthread.php?p=164560#post164560]given me an idea ...[/url]


All times are UTC. The time now is 18:40.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.