Re: JSH: One other option
- From: Proginoskes <CCHeckman@xxxxxxxxx>
- Date: Wed, 12 Sep 2007 07:01:06 -0000
On Sep 11, 9:46 pm, JSH <jst...@xxxxxxxxx> wrote:
On Sep 11, 8:17 pm, marcus_b <marcus_bruck...@xxxxxxxxx> wrote:
On Sep 11, 7:19 pm, JSH <jst...@xxxxxxxxx> wrote:[...]
It turns out Marcus pointed something out in another thread so I can
give a simpler definitive test of the latest theory which oddly takes
away any factoring of surrogates. Thanks Marcus!!!
Why ... I feel so unworthy.
Kind of odd really, but fascinating to contemplate as by the theory
the following algorithm should be applicable against an RSA sized
number factoring it in a maximum of 32 trials:
Note, still with x^2 = y^2 mod T, and k = 2x mod T.
So then, with x = floor(sqrt(T)), k = 2x,
n_min = floor((4(x+k-1) - 2k^2)/T)
and
n_max = floor(((x+k)^2 - 2k^2)/T)
you loop through y = sqrt((x+k)^2 - 2k^2 - nT), with n's from n_min to
n_max, looking for a
perfect square and the theory says there must be at least one,
Let's see. Let T = 77. Then:
x = floor(sqrt(77)) = 8
k = 2x = 16
nmin = floor(-420/77) = -6
nmax = 0.
So now we have the following table:
n (x + k)^2 - 2k^2 - nT
----- ---------------------------
-6 526
-5 449
-4 372
-3 295
-2 218
-1 141
0 64
Only the last of these is a perfect square, and
it yields y = 8. Since x = 8,
x^2 - y^2 = 0 = 0 mod 77,
but of course this gives no useful factors of T.
So over the specified range of n's, none of
the y's is a useful perfect square.
You're right. It seems though that 8 is too small to work as the
theory is setup with the assumption that abs(x)>abs(y).
Try x=9.
Have fun!
Oh yeah, it seems that with dinky numbers you can find these trivial
exceptions near the edges.
What conditions on T are required so that it's not "dinky"?
I wonder why.
If you find that x=9 does not work, then, hey, maybe I need to re-
check the theory!
But you know it will work.
Hmmmm...interesting though that the limits didn't handle that case
with a dinky number.
Something to wonder about....
Something else to wonder about: JSH claims to be a programmer. The
above could EASILY have been coded in any language (even Java). Why
doesn't JSH take the ten minutes necessary to write the program and
run it, seeing that it doesn't work? I mean, all you have is write
something like
int SF(int T)
{
int x, k, n, y;
x = floor(sqrt(T)); k = 2*x;
for (n = floor((4(x+k-1) - 2*k^2)/T); n <= floor(((x+k)^2 -
2*k^2)/T); n++) {
y = sqrt((x+k)^2 - 2*k^2 - n*T);
if (floor(y)*floor(y) == (x+k)^2-2*k^2 - n*T)
return gcd(x+y, T);
}
return -1;
}
Much easier than, say, a "class viewer".
--- Christopher Heckman
.
- Follow-Ups:
- Re: JSH: One other option
- From: JSH
- Re: JSH: One other option
- From: mensanator@xxxxxxxxxxx
- Re: JSH: One other option
- References:
- JSH: One other option
- From: JSH
- Re: JSH: One other option
- From: Jesse F. Hughes
- Re: JSH: One other option
- From: JSH
- Re: JSH: One other option
- From: Jesse F. Hughes
- Re: JSH: One other option
- From: JSH
- Re: JSH: One other option
- From: marcus_b
- Re: JSH: One other option
- From: JSH
- JSH: One other option
- Prev by Date: Re: Solution Manual
- Next by Date: Re: solution manial
- Previous by thread: Re: JSH: One other option
- Next by thread: Re: JSH: One other option
- Index(es):
Relevant Pages
|