mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2017-05-09, 00:38   #12
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

22×2,939 Posts
Default

Since we are talking about DWT-enabled 'implicit mod via convolution-based multiply', the issue at hand boils down to this: Let m = 2^p-1 be the modulus, and r = current LL-test residue. ('r' can also be thought of as standing for 'remainder', since that is precisely what it is.)

Q: Is there a number-theoretic checksum for r^2 (mod m) which does not rely on knowledge of the quotient q = floor(r^2/m)?

A: To the best of my knowledge, no. But anyone who thinks they have found such a thing can test it out easily enough using an arbitrary-precision app of their choice, such as linux bc or Pari/GP.
ewmayer is offline   Reply With Quote
Old 2017-05-09, 01:08   #13
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dartmouth NS

8,461 Posts
Default

Quote:
Originally Posted by ewmayer View Post
Since we are talking about DWT-enabled 'implicit mod via convolution-based multiply', the issue at hand boils down to this: Let m = 2^p-1 be the modulus, and r = current LL-test residue. ('r' can also be thought of as standing for 'remainder', since that is precisely what it is.)

Q: Is there a number-theoretic checksum for r^2 (mod m) which does not rely on knowledge of the quotient q = floor(r^2/m)?

A: To the best of my knowledge, no. But anyone who thinks they have found such a thing can test it out easily enough using an arbitrary-precision app of their choice, such as linux bc or Pari/GP.
not to my limited knowledge either except that (r^2)\equiv (-r)^2 \pmod m so we can turn it into a negative form for higher values and square a lower value.

edit:google results come to https://en.wikipedia.org/wiki/Checksum#Modular_sum as possible I think but I'm not advanced enough to understand. okay never mind that's more about integrity not authenticity apparently.

Last fiddled with by science_man_88 on 2017-05-09 at 01:32
science_man_88 is online now   Reply With Quote
Old 2017-05-09, 06:39   #14
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
"name field"
Jun 2011
Thailand

41×251 Posts
Default

Quote:
Originally Posted by ewmayer View Post
Since we are talking about DWT-enabled 'implicit mod via convolution-based multiply', the issue at hand boils down to this: Let m = 2^p-1 be the modulus, and r = current LL-test residue. ('r' can also be thought of as standing for 'remainder', since that is precisely what it is.)

Q: Is there a number-theoretic checksum for r^2 (mod m) which does not rely on knowledge of the quotient q = floor(r^2/m)?

A: To the best of my knowledge, no. But anyone who thinks they have found such a thing can test it out easily enough using an arbitrary-precision app of their choice, such as linux bc or Pari/GP.
No. If this would be possible to do, we would not need to do DC. I remember I wrote some question like that in a mail to George 13-15 years ago
We had some email exchange at the time, and I was trying to find one such relation, to eliminate the DC (you know, the $10k bonus, hehe). George never replied directly to that email, most probably considering me a crank (which I was, and I still am, but I learned a lot since, hehe).

Last fiddled with by LaurV on 2017-05-09 at 06:43
LaurV is offline   Reply With Quote
Old 2017-05-09, 07:47   #15
preda
 
preda's Avatar
 
"Mihai Preda"
Apr 2015

22·3·112 Posts
Default

Quote:
Originally Posted by ewmayer View Post
Since we are talking about DWT-enabled 'implicit mod via convolution-based multiply', the issue at hand boils down to this: Let m = 2^p-1 be the modulus, and r = current LL-test residue. ('r' can also be thought of as standing for 'remainder', since that is precisely what it is.)

Q: Is there a number-theoretic checksum for r^2 (mod m) which does not rely on knowledge of the quotient q = floor(r^2/m)?

A: To the best of my knowledge, no. But anyone who thinks they have found such a thing can test it out easily enough using an arbitrary-precision app of their choice, such as linux bc or Pari/GP.
Choose integer k > 1,
let M such that M^k == m, and
function checksum(r) = r mod M,

then checksum(r^2 mod m) == checksum(r)^2 mod M.

But.. M would need to be an "infinite precision real number" for this to work. So this is not a practical solution.
preda is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sieving both sides vs one side at a time paul0 Factoring 5 2015-11-18 13:58
Side Topic: 'It's Not a Toom-ah' R.D. Silverman Math 68 2015-11-15 04:21
mfaktc and CUDALucas side-by-side TObject GPU Computing 2 2012-07-21 01:56
False OnBattery detection Traveller Software 13 2009-03-09 23:16
Gap detection Joe O Prime Sierpinski Project 6 2006-11-05 18:52

All times are UTC. The time now is 14:59.


Fri Jul 7 14:59:37 UTC 2023 up 323 days, 12:28, 0 users, load averages: 1.37, 1.17, 1.13

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, 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.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔