Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Some Flat Equation Prime Number Aproximations

  1. Mar 4, 2012 #1
    for estimating Pn




    And for approximating the Pi(n)


    I do apologise If you want more advanced formula's with Summation's and or Factorial's and or big O notation but I don't understand that stuff very well.
  2. jcsd
  3. Mar 5, 2012 #2
    we are more interested to know how you derived those equations.
  4. Mar 5, 2012 #3
    Well I was investigating counting with A002260 and A004736 and tried using The triangle number formula to balance both pattern one and pattern two, the formula to which is on my website, Then I Played with the counting function with some other functions like log and then simplified with the help of the computer my best effort at predicting Pn and tweaked around with that until well what you see so far as my effort.

    I still have my work cut out for me to see how accurate I can get and am working towards a few tweaks with the addition of some extra functionality including making the smooth curve reverberate. All still as a flat equation.

    The pi(x) approximation is my first attempt (roughly 2 hours work) at that problem so it should be quite easy for me to Improve it's accuracy and give it the Pn weaving ability that the far more worked on Pn estimates have.
    Last edited: Mar 6, 2012
  5. Mar 6, 2012 #4
    My Pn estimates seem weave round Pn with an upper bound of 0.075 n of Pn and a lower bound of 0.5 n of Pn all at an ever slower speed exponentially relative to Pn, which Means with a slight modification to the formula I can get with in roughly 0.28 n of Pn for any number no matter how large providing this conjecture works to infinity.
  6. Mar 6, 2012 #5
    I would suggest you post some numerical results and/or graphs to let people get a feel for how good your approximations are.
  7. Mar 7, 2012 #6
    on it way I should have that for you soon.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook