Re: 3^n and primes
- From: rer <reriker@xxxxxxxxx>
- Date: Fri, 06 Jul 2007 02:21:49 -0000
On Jul 5, 12:02 am, quasi <q...@xxxxxxxx> wrote:
On Thu, 05 Jul 2007 01:53:14 -0000, rer <reri...@xxxxxxxxx> wrote:
On Jul 2, 10:50 pm, rer <reri...@xxxxxxxxx> wrote:
This is clearly not efficient, but seems curious. However, I am
unable to explore it further because of rounding errors. I hope
someone out there with a bigger number cruncher is curious, too, and
will see if this just dies out quickly, or has something more too it.
Consider 3^n where n is an integer greater than or equal to 2.
Then let p+q = 3^n, such that p, q are consecutive integers
If 2n+1 evenly divides p or q, then 2n+1 is prime
Someone contacted me directly, also. They noticed that when it fails,
the remainder on the nonfailing part is 1 or 2n. They suggested this
did not seem to be coincidental.
It's not coincidental -- it's an identity.
If 2n+1 divides p, then since q=p+1, it follows that q=1 mod (2n+1).
If 2n+1 divides q, then since p=q-1, if follows that p=2n mod (2n+1).
It doesn't matter whether or not 2n+1 is prime.
Thus, it's of no use in detecting false positives.
quasi
Thanks.
I had chosen 3^n because it was the smallest to test, and I had hoped
that it might work. Obviously, it alone is not sufficient. However,
it was really just the first member of a series of "triples" of the
form (a+b)(a-b)^p-1=c^p. I show some examples here:
http://mysite.verizon.net/~reriker/exppythag-primes.html
Now, as you showed, when p=60, one of the "triples" for 3 is divisible
by 121. However, someone contacted me directly, and they did a test
for some of the other numbers when p=60. Minimally, the triples of 5
and 7 are *not* divisible by 121. So, on this larger test, 121 shows
as not being prime.
Of course, it could fail at 351, etc. And even if it doesn't fail, it
is impractical for small numbers, and may be impractical for large
numbers due to the sizes. I don't think it would be necessary to test
very many values for any particular value of p. But, I would be
curious to see if this larger test also fails quickly or not. So, if
anyone has the inclination, the hardware, and the spare cycles, when
does this one fall over?
Thanks again :-)
.
- Follow-Ups:
- Re: 3^n and primes
- From: rer
- Re: 3^n and primes
- References:
- 3^n and primes
- From: rer
- Re: 3^n and primes
- From: rer
- Re: 3^n and primes
- From: quasi
- 3^n and primes
- Prev by Date: Re: ** says: Definition: sum{i in N} i = 0
- Next by Date: Re: ** says: Definition: sum{i in N} i = 0
- Previous by thread: Re: 3^n and primes
- Next by thread: Re: 3^n and primes
- Index(es):
Relevant Pages
|