Forum: And now for something completely different
2022-08-07, 17:52
|
Replies: 188
Views: 13,947
|
Forum: Linux
2022-08-03, 22:31
|
Replies: 10
Views: 529
I have never used screen before and am just...
I have never used screen before and am just playing around with it now. It seems you want sudo crontab -e (or root's account) and enter there @reboot su math-user -c "cd /your/path && screen...
|
Forum: And now for something completely different
2022-08-02, 23:31
|
Replies: 49
Views: 10,622
|
Forum: Linux
2022-08-02, 11:26
|
Replies: 10
Views: 529
I see this as two problems: Firstly getting...
I see this as two problems: Firstly getting something to run at boot and secondly getting something to run when logging in.
For the first use @reboot su math-user -c "X" (in sudo crontab -e) where...
|
Forum: Linux
2022-07-31, 18:51
|
Replies: 10
Views: 529
|
Forum: Chess
2022-07-24, 20:30
|
Replies: 5
Views: 340
First Law of Robotics broken
The first law of robotics (https://en.wikipedia.org/wiki/Three_Laws_of_Robotics) has been broken. A 7 year boy has been injured playing chess...
|
Forum: sweety439
2022-07-22, 21:39
|
Replies: 13
Views: 521
|
Forum: Riesel Prime Search
2022-07-22, 04:12
|
Replies: 1,984
Views: 249,142
9473*2^4543680-1...
9473*2^4543680-1 (https://primes.utm.edu/primes/page.php?id=134201) (1367788 digits) found Vincent Diepeveen
|
Forum: Proth Prime Search
2022-07-21, 14:42
|
Replies: 1
Views: 230
6 million digits prime!
Congrats to Ryan for 7*2^20267500 + 1 (https://primes.utm.edu/primes/page.php?id=134192) with 6,101,127 digits and entrance rank 17 in top5000.
:banana: :banana: :banana: :banana: :banana:...
|
Forum: science_man_88
2022-07-20, 20:46
|
Replies: 2
Views: 225
WB sm88.
I never know if to use my or local,...
WB sm88.
I never know if to use my or local, but your code can be made better by:
div(n,x)=local(tz=10^znorder(Mod(10,x)));if(n<=tz,return(n),return(n%tz+div(floor(n/tz),x)))
I think znorder...
|
Forum: Miscellaneous Math
2022-07-19, 18:03
|
Replies: 4
Views: 222
Let z=znorder(Mod(2,n)).
Then...
Let z=znorder(Mod(2,n)).
Then [2^(z-r),-1;1,2^(z-r)]^(n+1) == 4^(z-r)+1 == (4^z+4^r)/(4^r) == (1+4^r)/4^r all mod n
So 2^(r*(n+1))*[2^-r,-1;1,2^-r]^(n+1) = (1+4^r)*2^(r*(n-1)) mod n
Or...
|
Forum: Miscellaneous Math
2022-07-18, 23:48
|
Replies: 4
Views: 222
|
Forum: Miscellaneous Math
2022-07-18, 18:26
|
Replies: 4
Views: 222
|
Forum: Miscellaneous Math
2022-07-17, 20:34
|
Replies: 4
Views: 222
|
Forum: Miscellaneous Math
2022-07-17, 16:29
|
Replies: 4
Views: 222
3 mod 4 with free parameter
Consider [a,-1;1,a] = 2*a + [-a,-1;1,-a] where M=[a,-1;1,a] has the character x^2-2*a*x+a^2+1 and its discriminant = -1. Solving the character gives x=a+-sqrt(-1), leading to a test:
...
|
Forum: And now for something completely different
2022-07-17, 08:07
|
Replies: 49
Views: 10,622
|
Forum: Information & Answers
2022-07-16, 16:51
|
Replies: 16
Views: 482
|
Forum: Information & Answers
2022-07-16, 15:24
|
Replies: 16
Views: 482
It is not unknown that sometimes a CPU needs...
It is not unknown that sometimes a CPU needs reseating. This will also ensure you have perfect contact between the CPU and the heatsink, separted by the thinnest layer of paste when you reinstall the...
|
Forum: And now for something completely different
2022-07-16, 07:01
|
Replies: 49
Views: 10,622
|
Forum: sweety439
2022-07-15, 10:27
|
Replies: 13
Views: 521
|
Forum: And now for something completely different
2022-07-14, 06:57
|
Replies: 49
Views: 10,622
|
Forum: And now for something completely different
2022-07-13, 19:33
|
Replies: 49
Views: 10,622
|
Forum: Soap Box
2022-07-13, 19:04
|
Replies: 7
Views: 366
|
Forum: Hardware
2022-07-13, 13:55
|
Replies: 158
Views: 22,315
c
I'm stopping DC today ahead of possible...
c
I'm stopping DC today ahead of possible 35C temperature on Monday and Tuesday. My electricity company will be getting barely over their standing charge from me for a while, apart from the cost...
|
Forum: And now for something completely different
2022-07-13, 07:23
|
Replies: 172
Views: 37,982
|