Go Back   Science Forums
View Single Post
Old 11-13-2008   #51 (permalink)
modest's Avatar
modest
Creating


Location:
U.S. Midwest
 
modest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond repute
 



Not Ranked  0 score     
Re: A value that works for the first 500 primes

Quote:
Originally Posted by Don Blazys View Post
I can't get your graph no matter how many times I click on it.
It's just an image. It's nothing interactive. I graphed it using this website:
Graphing Calculator

EDIT: in case you mean you can't see them at all, I've changed the images to jpg format which any browser can view so long as "show images" is selected in your internet browser's settings. Private message me if you have continued trouble.

Quote:
Originally Posted by Don Blazys View Post
Also I don't calculate .8818 as a "zero" but as -6501.971... , so it's probably an asymptote, and not a zero.
I believe you're correct. The site I used obviously misinterpreted that part of the function - it does look like an asymptote.

Quote:
Originally Posted by Don Blazys View Post
By the way, your LaTex rendition is almost correct, exept for the subtraction of unity at the end.
Fixed.

Quote:
Originally Posted by CraigD View Post
Here’s a way to generate a starting value A_1 for Don’s generating formula...
That is really clever thinking. I also checked it up to 500 primes successfully.

Quote:
Originally Posted by CraigD View Post
More importantly, we haven’t proven that the A_1 = x as given by

\frac{\left[\left(sin(x^{(1/2)})\right)-1\right]^{-1}}{\left[\pi^2+\left[\ln\left(\ln\left(2\left[\left[2(x^{-1}+1)\right]^{-1}+1\right]\right)\right)\right]^{-1}\right]}-1 = 0
Plugging your 500-digit A_1 into Don's f(x) gives a value no closer to zero than Don's 25 digit approximation of x.


Quote:
Originally Posted by CraigD View Post
If modest or someone else with a working program like the one in post #28 can modify it to use the new equation (it shouldn’t be hard to differentiate, needing only the product and chain rules, and some carefulness), it would be interesting to compare A few hundred digits of the estimated zero of X to my big rational number above. To 500 decimals, it’s...
Using an online derivative finder, I get,
f(x) =
((sin(x^(1/2)))^(-1)-1)^(-1) / ((π)^2 + (ln(ln(2*((2* (x^(-1) +1))^(-1) +1))))^(-1))-1
f'(x) =
-(((-3*π^2*cos(√(x))*x^2-5*π^2*cos(√(x))*x-2*π^2*cos(√(x)))*ln(3*x+2)
+(3*π^2*cos(√(x))*x^2+5*π^2*cos(√(x))*x+2*π^2*cos( √(x)))*ln(x+1))*ln(ln(3*x+2)
-ln(x+1))^2+((-3*cos(√(x))*x^2-5*cos(√(x))*x-2*cos(√(x)))*ln(3*x+2)+(3*cos(√(x))*x^2
+5*cos(√(x))*x+2*cos(√(x)))*ln(x+1))*ln(ln(3*x+2)-ln(x+1))+(2*sin(√(x))^2
-2*sin(√(x)))*√(x))/(√(x)*((((6*π^4*sin(√(x))^2-12*π^4*sin(√(x))+6*π^4)*x^2
+(10*π^4*sin(√(x))^2-20*π^4*sin(√(x))+10*π^4)*x+4*π^4*sin(√(x))^2
-8*π^4*sin(√(x))+4*π^4)*ln(3*x+2)+((-6*π^4*sin(√(x))^2+12*π^4*sin(√(x))-6*π^4)*x^2
+(-10*π^4*sin(√(x))^2+20*π^4*sin(√(x))-10*π^4)*x-4*π^4*sin(√(x))^2+8*π^4*sin(√(x))
-4*π^4)*ln(x+1))*ln(ln(3*x+2)-ln(x+1))^2+(((12*π^2*sin(√(x))^2-24*π^2*sin(√(x))
+12*π^2)*x^2+(20*π^2*sin(√(x))^2-40*π^2*sin(√(x))+20*π^2)*x+8*π^2*sin(√(x))^2
-16*π^2*sin(√(x))+8*π^2)*ln(3*x+2)+((-12*π^2*sin(√(x))^2+24*π^2*sin(√(x))-12*π^2)*x^2
+(-20*π^2*sin(√(x))^2+40*π^2*sin(√(x))-20*π^2)*x-8*π^2*sin(√(x))^2+16*π^2*sin(√(x))
-8*π^2)*ln(x+1))*ln(ln(3*x+2)-ln(x+1))+((6*sin(√(x))^2-12*sin(√(x))+6)*x^2+(10*sin(√(x))^2
-20*sin(√(x))+10)*x+4*sin(√(x))^2-8*sin(√(x))+4)*ln(3*x+2)+((-6*sin(√(x))^2+12*sin(√(x))-6)*x^2
+(-10*sin(√(x))^2+20*sin(√(x))-10)*x-4*sin(√(x))^2+8*sin(√(x))-4)*ln(x+1)))
Graphing f(x) (green) and f'(x) (red) gives:



Red does look like green's derivative to me. Unless it can be simplified algebraically I don't have much hope for Newton's method, but without any better ideas, I could give it a try.

Quote:
Originally Posted by CraigD View Post
From a practical computational perspective, like so many candidate prime number generators, this one’s not very useful, because in order to generate many primes, its A_1 must be very precise, and arithmetic on very precise numbers take a lot of computing time and CPU. From a math insight perspective, however, it’s wonderful if true, and a nifty (and maybe not easy) exercise to prove true or not.
I agree with both points.

~modest


----------------

Last edited by Qfwfq; 11-14-2008 at 03:30 AM.. Reason: toooo wiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiide Modest!
Reply With Quote
 
» Advertisement
» Current Poll
Who's the sexiest man alive? Johnny Depp or Robert Pattinson?
Johnny Depp - 27.27%
3 Votes
Robert Pattinson - 0%
0 Votes
Someone else (please specify) - 45.45%
5 Votes
I'm too macho to think a guy is sexy - 27.27%
3 Votes
Total Votes: 11
You may not vote on this poll.


All times are GMT -8. The time now is 09:55 PM.

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

We have been online since May 2000, and aim to be the best place to find and share science-related content of all kinds.

Share the love!

Please add more science to your life. Use our RSS feeds on your blog, your portal, or your favorite feedreader!


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000-2009 Hypography
Part of the Hypography - Science for Everyone Network