mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Lounge

Reply
 
Thread Tools
Old 2016-04-16, 18:48   #1
davar55
 
davar55's Avatar
 
May 2004
New York City

102128 Posts
Default question about residues

How would I check whether the value my LL program
gets for a hex residue matches P95's value?

I know 2^371561-1 is tiny, but I'm range checking
my program and it reported this composite, of course,
and I'd just like to corroborate identical residues.
davar55 is offline   Reply With Quote
Old 2016-04-16, 19:30   #2
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

35×13 Posts
Default

Take your final residue and do a mod 264 and then convert it to hexadecimal.

If you start with S0=4 then:

Res64 = Sp-2 (mod 264)

Last fiddled with by ATH on 2016-04-16 at 19:31
ATH is offline   Reply With Quote
Old 2016-04-16, 19:35   #3
davar55
 
davar55's Avatar
 
May 2004
New York City

2·29·73 Posts
Default

Yes that's how it's reported. Where can I find
the residue reported for this exponent by P95?
(I mean the mod 64 hex residue.)

Last fiddled with by davar55 on 2016-04-16 at 19:37
davar55 is offline   Reply With Quote
Old 2016-04-16, 20:44   #4
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

11×101 Posts
Default

http://www.mersenne.org/report_exponent/?exp_lo=371561
TheJudger is offline   Reply With Quote
Old 2016-04-17, 08:31   #5
davar55
 
davar55's Avatar
 
May 2004
New York City

423410 Posts
Default

Thanks. That was exactly what I needed.

My version of LL confirms the same non-zero residue.
davar55 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
question: decidability for quadratic residues modulo a composite LaurV Math 18 2017-09-16 14:47
Fun with LL residues NBtarheel_33 Data 19 2015-04-21 16:02
residues and non residues of general quadratic congruences smslca Math 0 2012-10-12 06:42
weird residues ATH Data 2 2012-08-14 02:25
Residues in subgroups akruppa Math 2 2006-01-14 21:56

All times are UTC. The time now is 09:26.


Sat Jul 17 09:26:06 UTC 2021 up 50 days, 7:13, 1 user, load averages: 1.47, 1.52, 1.58

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.