James Harris Guest
|
Posted: Sat Nov 15, 2003 11:23 pm Post subject: Partial difference equation, counting primes |
|
|
I think that the last topic I mentioned was too advanced, so here>s
something simpler to test the rationality, and cognitive ability of
this newsgroup.
It just so happens that I found a partial difference equation which
gives the count of prime numbers when integrated over a certain range.
It also turns out that my find is unique in human history as NO OTHER
person besides myself has *ever* given a partial difference equation
integration method for counting prime numbers.
And, it>s simple to implement!!!
Here>s the difference equation and the instructions for the
integration:
dS(x,y) = [p(x/y, y-1) - p(y-1, sqrt(y-1))][ p(y, sqrt(y)) - p(y-1,
sqrt(y-1))],
S(x,1) = 0.
And p(x, y) = floor(x) - S(x, y) - 1, and you get S as the sum of dS
from dS(x,2) to dS(x,y).
Note that it>s a *discrete* function, so for you programmers that
means you need to use int>s or long>s or some discrete variable type.
So you only want the integer square root value, like for sqrt(10), you
want 3.
For programmers "you get S as the sum of dS from dS(x,2) to dS(x,y)"
means you sum up to and *including* y, as I don>t doubt some of you
may write something like
for (i=2; i<y; i++;){}
which is WRONG, and if you do that you will probably get a wrong
answer.
Note: p(x,sqrt(x)) here gives the same value as the traditional pi(x).
For faster calculations you need to use
dS(x,y) = [ p(x/y, sqrt(x/y)) - p(y-1, sqrt(y-1)][ p(y, sqrt(y)) -
p(y-1, sqrt(y-1))]
when sqrt(x/y) < y-1.
That>s a BIG deal, as the pure math implementation is VERY SLOW, and
even that quick speed-up won>t push you very far.
However, the point is that the difference equation integration does
work, which those of you who can program can verify for yourselves.
Then you should search to see if ANYONE has ever used a partial
difference equation integration to get a count of prime numbers
because then you can see that yes, I>m the only one in recorded
history to present this method.
The above instructions are easy enough to program into a computer and
if you follow them, you>ll notice that you do get a correct count for
prime numbers, and you should also notice that unless y is prime
dS(x,y) = 0, so yes, it>ll also tell you *which* numbers are prime.
The research is a shining example of the importance of *independent*
researchers willing to check in areas that more staid academics think
are fallow.
The independent researcher is important for the future.
James Harris
"My math discoveries, found for profit"
http://mathforprofit.blogspot.com/ |
|
Wolf Kirchmeir Guest
|
Posted: Sun Nov 16, 2003 4:39 pm Post subject: Re: Partial difference equation, counting primes |
|
|
On 15 Nov 2003 09:23:14 -0800, James Harris wrote:
[quote]Then you should search to see if ANYONE has ever used a partial
difference equation integration to get a count of prime numbers
because then you can see that yes, I>m the only one in recorded
history to present this method.
[/quote]
So you have found yet another method of finding a count of primes in given
interval. You>re replicating existing knowledge by another method. So? Does
your method generalise into some other problems? Does it suggest ways of
approaching unsolved problems? I can>t answer those questions - my calculus
skills are somewhat rusty; but with your genius, you should have no trouble
doing so.
The really interesting question about primes is whether or not there is an
infinity of primes. The latest reports I>ve read on that issue indicate it
seems we can>t tell - yet, perhaps never. Now if you had a method of deciding
that question....
--
Wolf Kirchmeir, Blind River ON Canada
"Nature does not deal in rewards or punishments, but only in consequences."
(Robert Ingersoll) |
|