![]() |
![]() |
#45 |
Bamboozled!
"๐บ๐๐ท๐ท๐ญ"
May 2003
Down not across
2·19·307 Posts |
![]()
Undoubtedly the case. It can run in O(log(N)) number of GCDs, where N is the number of primes, whereas it takes O(N) by successive trial division. A GCD is also sub-linear in the number of basic arithmetic operations.
|
![]() |
![]() |
![]() |
#46 |
"Oliver"
Sep 2017
Porta Westfalica, DE
53F16 Posts |
![]()
So it sounds like it would be a workable idea to back FactorDB up by simply downloading all the primes. Maybe we can ask Markus whether he is up to giving some of us a download link for these?
|
![]() |
![]() |
![]() |
#47 | |
If I May
"Chris Halsall"
Sep 2002
Barbados
22×47×59 Posts |
![]() Quote:
Just to put this out there... I often use rsync for IPC data exchange. Whenever possible, stand on the shoulders of giants. |
|
![]() |
![]() |
![]() |
#48 | |
"Alexander"
Nov 2008
The Alamo City
2·463 Posts |
![]() Quote:
Last fiddled with by Happy5214 on 2022-10-21 at 00:06 Reason: Clip |
|
![]() |
![]() |
![]() |
#49 |
"Alexander"
Nov 2008
The Alamo City
2·463 Posts |
![]()
I'd like to add that, for a database website, its understanding of HTTP methods is terrible. GET requests should not change meaningful data, including creating new entries, especially without explicitly declaring that intent. That's just a basic rule of web design. Ideally, all new IDs would be created through POST or PUT requests, and queries that result in a non-existent entry would return the queried formula or say "entry not found" (or something similar).
Last fiddled with by Happy5214 on 2022-10-23 at 01:02 Reason: Clarify |
![]() |
![]() |
![]() |
#50 | |
Romulan Interpreter
"name field"
Jun 2011
Thailand
3×23×149 Posts |
![]() Quote:
Once you start "solving" the aliquot 100, this will add to the database the line for 100, and the line for 117, etc. When the sequence 100 is finished (it may or may not be in this step - think about numbers with many digits, not about 117 itself which is very easy to factor - finishing the sequence starting with 100 may take years ![]() Also, 77 is never "lost", it has its own line in the DB, that looks like "77, 7, 11, 77, 77" (note that 11 can be missing, and I ignored flags, to avoid complicating the explanation - in fact, the line for 77 is, assuming you only got to 100, "77, 7, F" - the flags can signal there is no merge here, yet, and that it is fully factored, so you don't need to store the last cofactor and the double 77 at the end - this is not the same F as above, it is used generic - about 7 bits will be enough to keep al situations, so the flag will always be a small decimal number). So, what's your problem? ![]() Last fiddled with by LaurV on 2022-10-29 at 08:44 |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
seasonal or long term trends | kriesel | Cloud Computing | 19 | 2021-05-26 16:51 |
Long term evidence of civilization. | xilman | Science & Technology | 65 | 2021-05-07 12:26 |
Using long long's in Mingw with 32-bit Windows XP | grandpascorpion | Programming | 7 | 2009-10-04 12:13 |
I think it's gonna be a long, long time | panic | Hardware | 9 | 2009-09-11 05:11 |
Long-term Primenet archive | delta_t | Data | 3 | 2005-08-25 00:31 |