Forum: Computer Science & Computational Number Theory
2013-03-15, 13:30
|
Replies: 40
Views: 4,264
|
Forum: Computer Science & Computational Number Theory
2013-03-15, 13:04
|
Replies: 40
Views: 4,264
|
Forum: Miscellaneous Math
2013-01-31, 08:19
|
Replies: 9
Views: 839
|
Forum: Math
2012-05-23, 12:47
|
Replies: 13
Views: 1,651
Either you have not completely specified your...
Either you have not completely specified your generalised conjecture or there is a counter example for Case I! Take a=-2 and c=-9. Then gcd(a,c)=1 but there are at least two solutions for (x,n):
...
|
Forum: Homework Help
2012-05-16, 13:30
|
Replies: 7
Views: 1,769
|
Forum: Homework Help
2012-05-16, 07:41
|
Replies: 7
Views: 1,769
|
Forum: Miscellaneous Math
2012-05-14, 11:28
|
Replies: 3
Views: 422
|
Forum: Math
2012-03-20, 15:43
|
Replies: 15
Views: 1,935
|
Forum: Other Mathematical Topics
2012-03-15, 09:56
|
Replies: 95
Views: 20,291
You should not change your questions after they...
You should not change your questions after they have been answered. My post handles the task: Decompose p = 3 mod 8 into p = x^2 + 2 y^2. And computing the modular square root mod p of this form is...
|
Forum: Other Mathematical Topics
2012-03-15, 08:49
|
Replies: 95
Views: 20,291
Use Cornacchia's algorithm (see...
Use Cornacchia's algorithm (see http://en.wikipedia.org/wiki/Cornacchia%27s_algorithm or Crandall/Pomerance, Algorithm 2.3.12), it is very effective.
|
Forum: science_man_88
2011-11-18, 17:24
|
Replies: 396
Views: 30,469
My formulation was a be misleading, I wanted to...
My formulation was a be misleading, I wanted to say: If the you know the prime decomposition of n then are not hard problems to compute sqrt(a) mod n. If you do not know it you can say that a is a...
|
Forum: science_man_88
2011-11-18, 10:42
|
Replies: 396
Views: 30,469
|
Forum: science_man_88
2011-11-18, 09:06
|
Replies: 396
Views: 30,469
|
Forum: science_man_88
2011-11-18, 08:02
|
Replies: 396
Views: 30,469
|
Forum: Computer Science & Computational Number Theory
2011-11-09, 14:28
|
Replies: 171
Views: 16,190
|
Forum: Programming
2011-08-24, 08:56
|
Replies: 5
Views: 821
As usual you are far too vague for a precise...
As usual you are far too vague for a precise direct answer.
First of all: Do you want to test multi-precision numbers or single precision numbers (for single precision in the FPU range a simple...
|
Forum: Computer Science & Computational Number Theory
2011-08-23, 08:55
|
Replies: 66
Views: 12,735
Perhaps your processor is clever and does an...
Perhaps your processor is clever and does an optimization you obviously refuse! Why do you choose this S? The largest factor is 11969 (much smaller than your first), and thus it is no surprise that...
|
Forum: Computer Science & Computational Number Theory
2011-08-23, 07:33
|
Replies: 66
Views: 12,735
Any time for the original problem of...
Any time for the original problem of JohnFullspeed for 10000000# mod 50847533 that is greater than say 1 ms, shows that used implementation is bad: Since 50847533 = 11*31*149113, the result is zero...
|
Forum: Math
2011-07-19, 12:55
|
Replies: 2
Views: 753
[\log_2(n)] if your number is n, i.e. for a 20...
[\log_2(n)] if your number is n, i.e. for a 20 decimal digit number [\log_2(10^{20}-1)] = 66. If you want different prime factors, search the largest product of the first primes that is <= n and...
|
Forum: Miscellaneous Math
2011-07-07, 14:36
|
Replies: 45
Views: 3,401
Since ldesnogu assumes a power of two base, I...
Since ldesnogu assumes a power of two base, I cannot see how you can be faster with your log_2 approach. If the most significant limb has a popcount > 1 both algorithms will have the result "No power...
|
Forum: Miscellaneous Math
2011-07-05, 09:50
|
Replies: 61
Views: 4,497
|
Forum: Miscellaneous Math
2011-07-04, 21:22
|
Replies: 61
Views: 4,497
The reason why RSA problems above say 512 bit...
The reason why RSA problems above say 512 bit numbers are difficult, is not caused by timing problems of the arithmetic. They are essentially difficult because integer factorization is difficult in...
|
Forum: Miscellaneous Math
2011-07-04, 15:00
|
Replies: 61
Views: 4,497
|
Forum: Miscellaneous Math
2011-06-22, 13:27
|
Replies: 39
Views: 2,187
You should address this question to...
You should address this question to JohnFullspeed. That's why I said he should specify what he wants to do. Maybe he wants to compute \sigma_0. But even then the test should be: if j>2 then output...
|
Forum: Miscellaneous Math
2011-06-22, 12:51
|
Replies: 39
Views: 2,187
|