2020-10-06 09:05:19 +0200 | received badge | ● Famous Question (source) |
2020-04-30 14:46:19 +0200 | received badge | ● Nice Question (source) |
2020-04-30 08:07:17 +0200 | received badge | ● Notable Question (source) |
2019-09-20 11:41:37 +0200 | received badge | ● Popular Question (source) |
2019-01-24 14:51:16 +0200 | asked a question | Efficiently testing probable primes I have to test extremely huge numbers (100k+ digits) in a reasonable time if they are probable primes. Are there codes for doing that? Are there C-codes interfaced with SAGE? Or something else? |
2019-01-24 12:46:57 +0200 | asked a question | C compiler and C program for testing primality I have to test the primality of some very big numbers (100k+ digits), I mean it is enough to know if they are probable primes. I would know if there is a program in C for doing that. And what C-compiler do you suggest? Are there some C-libraries which allow probable primes tests? |
2018-12-13 15:46:48 +0200 | asked a question | From Pari to SAGE f(n,p)={d=ceil(log(2)/log(10)(n-1));s=lift(Mod(2,p)^(n-1));t=lift(Mod(10,p)^d);u=lift(Mod((2s-1)*t+s-1,p));u} v=[100000..101000] forprime(q=1,10^7,z=select(m->f(m,q)==0,v);if(length(z)>0,v=setminus(v,z);print(q," ",length(z)," ",length(v)))) This is a program for PARI. For numbers of the form (2^k-1)*10^d+2^(k-1)-1 where d is the number of decimal digits of 2^(k-1)-1 in the range k=[100000..101000], it displays numbers with no factor below 10^7. Can somebody translate this PARI program in a SAGE program? |
2018-12-12 09:32:17 +0200 | asked a question | Find factors of large integers without fully factoring I have to find the smallest factor of a big number with SAGE. The problem with the factor command is that it displays the results only when the number is fully factored and so for a big number it could take an eternity to have the result. Has somebody a good program for finding factors of a big number without waiting for a full factorization? |
2018-12-11 18:18:21 +0200 | commented answer | A routine for testing a conjecture @dan_fulea and what if I want to cancel the factorization? |
2018-12-11 18:17:37 +0200 | received badge | ● Supporter (source) |
2018-12-11 16:12:08 +0200 | received badge | ● Editor (source) |
2018-12-11 16:11:22 +0200 | commented answer | A routine for testing a conjecture @dan_fulea the program checks primes or probable primes? I am looking for probable primes. |
2018-12-05 07:45:08 +0200 | commented question | Sage program for 40!+k project @Emmanuel Charpentier no it is a project in mathexchange. |
2018-12-04 19:58:07 +0200 | received badge | ● Student (source) |
2018-12-04 13:55:39 +0200 | asked a question | Sage program for 40!+k project The object is to find all integers k , lets say in the range [-10^9,10^9], for which the number 40!+k splits in three prime factors with 16 decimal digits. Has somebody an efficient routine for Sage? |
2018-12-04 13:41:18 +0200 | asked a question | Program for Sage The ec(k) numbers are so defined: ec(k)=(2^k-1)10^d+2^(k-1)-1, where d is the number of decimal digits of 2^(k-1)-1. Examples of these numbers are: 31, 157, 3115, 40952047,... I found that up to k=565.000 there is no prime of the form (2^k-1)10^d+2^(k-1)-1 which is congruent to 6 mod 7, so I conjectured that there is no prime of this form congruent to 6 mod 7. Has somebody a program for Sage for checking this conjecture further? |
2018-12-04 13:41:18 +0200 | asked a question | A routine for testing a conjecture The ec numbers are so defined: where For some values of |