![]() |
|
|
#1013 |
|
Romulan Interpreter
Jun 2011
Thailand
22×33×89 Posts |
I did the correction in mentioned post, re gender (his->its) in four places. FWIW the things work the same in Romanian, we have a neutral gender, but we don't have an "it" for it. Neuter things are "he" when singular. With plurals, things get more complicate, we have a "feminine-they" and a "masculine-they". For neuters plurals, "feminine-they" is used. That is why I also make this mistake, calling the dog "he" and the cat "she" when "it" should be used. So, no harm done. Somebody told me that it is not incorrect in English to use he/she when you want to personify things. So, for me, numbers are important persons! Especially when prime and have millions of digits!
Last fiddled with by LaurV on 2021-03-21 at 15:30 |
|
|
|
|
|
#1014 | |
|
"Alexander"
Nov 2008
The Alamo City
24×43 Posts |
Quote:
Code:
void log_msg(string msg, bool timestamp) {
ofstream f(cfg.log_file.c_str(), ios::app);
if (!f.is_open()) {
cout << "WARNING: couldn't open log file for writing!" << endl;
return;
}
if (timestamp) f << get_timestamp() << " ";
f << msg;
f.close();
}
Edit: i is a 32-bit signed int that can go up to more than 2e9, so it should be more than enough. Last fiddled with by Happy5214 on 2021-03-21 at 16:31 |
|
|
|
|
|
|
#1015 | ||
|
"Alexander"
Nov 2008
The Alamo City
68810 Posts |
Quote:
Quote:
Edit: There's a slight typo from your request in that it prints a caret ("^") instead of a space to the log. That's a copy-paste error from the line below that's easy to fix. Last fiddled with by Happy5214 on 2021-03-21 at 17:43 Reason: Typo found in code |
||
|
|
|
|
|
#1016 | |
|
"Garambois Jean-Luc"
Oct 2011
France
27·5 Posts |
Quote:
Thank you very much, this is exactly what I need ! Now, I will be able to run the calculations for bases 3, 5 and 7. |
|
|
|
|
|
|
#1017 | |
|
"Garambois Jean-Luc"
Oct 2011
France
28016 Posts |
Quote:
OK thanks a lot. But unless I'm mistaken, two corrections are missing where the "his" remains ! "And then next is : 80640 = 2^8*3^2*5*7, but this time, his double and his triple are not suitable !"
|
|
|
|
|
|
|
#1018 | ||
|
"Alexander"
Nov 2008
The Alamo City
24·43 Posts |
Quote:
Quote:
|
||
|
|
|
|
|
#1019 |
|
"Alexander"
Nov 2008
The Alamo City
24×43 Posts |
I made a slight improvement. This version also logs the factors found, so you can verify that they actually divide the number (using, say, FactorDB) and the abundance (with, say, PARI/GP). I also fixed the caret/space issue.
|
|
|
|
|
|
#1020 | |
|
"Garambois Jean-Luc"
Oct 2011
France
27·5 Posts |
Quote:
Thank you very much. I use this latter program. I will let it run for several weeks for bases 3, 5 and 7.
|
|
|
|
|
|
|
#1021 |
|
"Alexander"
Nov 2008
The Alamo City
12608 Posts |
Figured I'd get this in before the next page update, but I'm done with the base 24 range between 24^20 and 24^30 and am releasing those. I'm currently working on 24^33 on my desktop (24^31 was terminated in the initial setup run), and after a series of downdriver runs, it's now at 116 digits with a D6. I'll continue to find good downdriver runs to plow through on my laptop. I added more than 3500 terms to 770^43 earlier today, but with nothing to show for it.
|
|
|
|
|
|
#1022 |
|
Aug 2020
2×32 Posts |
I tried a few number of exponents on base 7.
So far 1987441237556775=3^5 · 5^2 · 7 · 11 · 13 · 17 · 19 · 23 · 29 · 37 · 41 is lowest odd n I found that s(7^n) is abundant, but with primes <105. |
|
|
|
|
|
#1023 |
|
"Garambois Jean-Luc"
Oct 2011
France
27·5 Posts |
OK, page updated.
Many thanks to all for your help. Added base : 62. New bases reserved for yoyo : 58, 2310, 30030, 510510, 9699690, 82589933. 75 bases in total. Thank you all for checking if everything is in accordance with your requests. |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Broken aliquot sequences | fivemack | FactorDB | 46 | 2021-02-21 10:46 |
| Broken aliquot sequences | schickel | FactorDB | 18 | 2013-06-12 16:09 |
| A new theorem about aliquot sequences | garambois | Aliquot Sequences | 34 | 2012-06-10 21:53 |
| poaching aliquot sequences... | Andi47 | FactorDB | 21 | 2011-12-29 21:11 |
| New article on aliquot sequences | schickel | mersennewiki | 0 | 2008-12-30 07:07 |