![]() |
|
|
#276 | |
|
Aug 2020
79*6581e-4;3*2539e-3
2×5×73 Posts |
Quote:
With LCDs this doesn't happen anymore, since the LED backlight is on all the time. No matter if blank screen or not. It's different for OLEDs, since in that case the individual pixel is really switched on and off and to prevent uneven aging a blank screen could help. But the easiest solution is not to use a screen saver, but just switch off the display after 10 minutes or so via energy saver settings. Doesn't use any CPU power and saves electrical power and you display won't age. |
|
|
|
|
|
|
#277 | |
|
Random Account
Aug 2009
Not U. + S.A.
3×953 Posts |
Quote:
|
|
|
|
|
|
|
#278 |
|
May 2020
47 Posts |
It's likely that I'm very dense (as is standard), but I'm having whack-o issues attempting to run srsieve2 on sequences like 3^n+2 or 3^n-2. This might be along the lines of trying to use a screwdriver to open a can of tomatoes, but I was assuming that having k=1 would be sufficient to get things working and would be fine to use as a tool - even trying to sidestep things with some k = b^(small power) to avoid issues if necessary.
I was greeted with "Sequence 27*3^n+2 has 1000000 terms removed has they have the factor 5" in the +2 case, which definitely seems weird, as numbers like 3^14+2 are prime and are thusly not divisible by 5, and as for -2 it comes down to "Fatal Error: Expected 18446744073709324636 terms when building sequences, but counted only 235736.", which, at the very least, strikes fear into my heart. |
|
|
|
|
|
#279 | |
|
"Mark"
Apr 2003
Between here and the
3·2,447 Posts |
Quote:
|
|
|
|
|
|
|
#280 |
|
May 2020
47 Posts |
For 3^n+2, I did srsieve2 -n 1 -N 1000000 -s"27*3^n+2".
For 3^n-2, I did the same but with "27*3^n-2". Similar results occur for -s"1*3^n+2" and fails to parse -s"3^n+2", as expected. Edit: I suppose I should mention that the issue with the "removing 1000000 factors" bit isn't that it removes factors, but it removes the entire range, full stop. Last fiddled with by Gelly on 2020-09-17 at 15:48 |
|
|
|
|
|
#281 | |
|
"Mark"
Apr 2003
Between here and the
162558 Posts |
Quote:
|
|
|
|
|
|
|
#282 |
|
Romulan Interpreter
"name field"
Jun 2011
Thailand
41×251 Posts |
Windows? Did you double the hat?
|
|
|
|
|
|
#283 |
|
"Mark"
Apr 2003
Between here and the
1CAD16 Posts |
Attached is sr1sieve 1.4.7. The major change is for non-x86 users. It will now work for p up tp 2^64 whereas it was limited to 2^52 previously. Based upon a few tests it is actually only about 5% slower than when running with the 64-bit ASM routines. There is a minor change in an attempt to get more accurate timestamp details so that the best baby steps method is chosen a runtime. This costs a second or two upon start up. If you use -vv you will see which baby steps method it chooses.
|
|
|
|
|
|
#284 |
|
"Mark"
Apr 2003
Between here and the
3×2,447 Posts |
To compile for ARM or other non-x86 CPUs, use ASSEMBLER=no in the makefile and use # to comment all architectures in the makefile as well.
|
|
|
|
|
|
#285 |
|
Oct 2006
Berlin, Germany
22·3·5·11 Posts |
I compiled it on ARM 64 and make check reports an error
Code:
./srtest 1000000 0
Testing calculation of a^n (mod p) for random a,n < p < 2^62, seed=1610277202.
*** 5^0 (mod 13): expected 1, got 3.
*** 2746100997775259206^3224756103013107157 (mod 3821170955791617625):
expected 2787118976035927961, got 2537629473793175596.
Stopping after 2 errors.
make: *** [Makefile:329: check] Error 1
pi@raspberrypi2:~/sr1sieve/sr1sieve_1.4.7$
|
|
|
|
|
|
#286 | |
|
"Mark"
Apr 2003
Between here and the
3·2,447 Posts |
Quote:
|
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sieving twins with srsieve | henryzz | Twin Prime Search | 0 | 2014-03-18 12:44 |
| Intel announces multi-core enhancements for Haswell chips | ixfd64 | Hardware | 8 | 2012-02-10 20:32 |
| LLRnet enhancements | kar_bon | No Prime Left Behind | 10 | 2008-03-28 11:21 |
| TODO list and suggestions/comments/enhancements | Greenbank | Octoproth Search | 2 | 2006-12-03 17:28 |
| Suggestions for future enhancements | Reboot It | Software | 16 | 2003-10-17 01:31 |