mersenneforum.org  

Go Back   mersenneforum.org > Math Stuff > Probability & Probabilistic Number Theory

Reply
 
Thread Tools
Old 2017-11-27, 00:16   #23
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

20C016 Posts
Default

Quote:
Originally Posted by a1call View Post
I like that reference

http://www.periodictable.com/Samples/026.55/s13.JPG


You know what they say:

You can't teach an old d d d distinguished gentleman new tricks.


PFGW, at the moment is nothing but an acronym to me.
I will have to research it.
Thank you.
it's used on this forum a lot or was at one point, so this forum may help your research if you know how to properly search.
science_man_88 is offline   Reply With Quote
Old 2017-11-27, 01:27   #24
a1call
 
a1call's Avatar
 
"Rashid Naimi"
Oct 2015
Remote to Here/There

7×271 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
it's used on this forum a lot or was at one point, so this forum may help your research if you know how to properly search.
Well, I downloaded the linux version from sourceforge. But I can't make it executable on ubuntu because it does not give me root privileges. I wished they would change this unnecessary "security" feature/headache.
But that's fine.

All this is just sort of a hobby.

Thanks anyways.
a1call is offline   Reply With Quote
Old 2017-11-27, 05:42   #25
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

160658 Posts
Default

Quote:
Originally Posted by a1call View Post
Well, I downloaded the linux version from sourceforge. But I can't make it executable on ubuntu because it does not give me root privileges. I wished they would change this unnecessary "security" feature/headache.
But that's fine.

All this is just sort of a hobby.

Thanks anyways.
You don't need root permission to mark-executable a file you downloaded. And if you installed then OS, then you do have root privileges anyways.
Dubslow is offline   Reply With Quote
Old 2017-11-27, 07:10   #26
a1call
 
a1call's Avatar
 
"Rashid Naimi"
Oct 2015
Remote to Here/There

76916 Posts
Default

I don't think I need to worry about low probability of hitting large PRP.
My Lehrmer non primality code freezes my desktop with 11-dd candidates.
a1call is offline   Reply With Quote
Old 2017-11-28, 00:18   #27
a1call
 
a1call's Avatar
 
"Rashid Naimi"
Oct 2015
Remote to Here/There

7·271 Posts
Default

Quote:
Originally Posted by Dubslow View Post
You don't need root permission to mark-executable a file you downloaded. And if you installed then OS, then you do have root privileges anyways.
In ubuntu:
There is root privileges using su, but I'm a very poor typer and don't know the terminal commands. Looking them up is too much of a hassle.

There is the gksudo for GUIs but running gksudo nautilus only gives you read access to files. you can not change permissions or owners.

All this would be non issue if you could log in as root, which is virtually impossible in ubuntu. There is a large compilation of users requesting this feature over many years, but apparently ubuntu knows better than all of it's incompetent user-base.

On my system anything downloaded is owned by root and I can not make any changes to them.

Last fiddled with by a1call on 2017-11-28 at 00:33
a1call is offline   Reply With Quote
Old 2017-11-28, 02:43   #28
GP2
 
GP2's Avatar
 
Sep 2003

22×3×5×43 Posts
Default

Quote:
Originally Posted by a1call View Post
On my system anything downloaded is owned by root and I can not make any changes to them.
There are many systems where you can't log in as root, but you can prefix commands with "sudo" to run that command as root.


Try the following:

If the filename is called "foo", you can make the file executable:

sudo chmod +x foo

You can also change the ownership of the file from root to you:

sudo chown $(whoami) foo
GP2 is offline   Reply With Quote
Old 2017-11-28, 02:59   #29
a1call
 
a1call's Avatar
 
"Rashid Naimi"
Oct 2015
Remote to Here/There

111011010012 Posts
Default

Acknowledged with thanks GP2.

I'm done for the day.
Will give that a try tomorrow eve.
a1call is offline   Reply With Quote
Old 2017-11-28, 03:16   #30
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts
Default

Quote:
Originally Posted by a1call View Post
In ubuntu:
There is root privileges using su, but I'm a very poor typer and don't know the terminal commands. Looking them up is too much of a hassle.
Never use su, use sudo, as explained above.

Quote:
Originally Posted by a1call View Post
There is the gksudo for GUIs but running gksudo nautilus only gives you read access to files. you can not change permissions or owners.
I'm not too sure about GUIs anymore, but any time you try to something you don't have permissions for, it should give you the popup in which you can type your password. This *should* include things like permissions or owners or whatever, but IDK.

Quote:
Originally Posted by a1call View Post
All this would be non issue if you could log in as root, which is virtually impossible in ubuntu. There is a large compilation of users requesting this feature over many years, but apparently ubuntu knows better than all of it's incompetent user-base.
Just because the root user does not exist by default (which is a perfectly sensible decision) does *not* mean that you can't do things as root (sudo) or that you can't create the account yourself. (It's one command. Google it if you must, but if you haven't already figured it out, perhaps that's a sign you shouldn't be mucking around with the root account anyways.)

Quote:
Originally Posted by a1call View Post
On my system anything downloaded is owned by root and I can not make any changes to them.
That's a serious security issue. Anything you download is necessarily owned by the user which ran the browser, and if your browser is running as root, you have way more and worse problems than "I can't change my downloads' permissions" -- your computer thus can be (and possibly is) owned, most literally, by anyone on the internet, with sufficiently malicious javascript. I find it difficult to accept this assertion at face value.

Last fiddled with by Dubslow on 2017-11-28 at 03:16
Dubslow is offline   Reply With Quote
Old 2017-11-28, 14:39   #31
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3·52·79 Posts
Default

Quote:
Originally Posted by a1call View Post
On my system anything downloaded is owned by root and I can not make any changes to them.
Quote:
Originally Posted by Dubslow View Post
That's a serious security issue. Anything you download is necessarily owned by the user which ran the browser, and if your browser is running as root, you have way more and worse problems than "I can't change my downloads' permissions" -- your computer thus can be (and possibly is) owned, most literally, by anyone on the internet, with sufficiently malicious javascript. I find it difficult to accept this assertion at face value.
Yes. If true that's horrifying (and you need to change things ASAP).
CRGreathouse is offline   Reply With Quote
Old 2017-11-29, 01:43   #32
a1call
 
a1call's Avatar
 
"Rashid Naimi"
Oct 2015
Remote to Here/There

7·271 Posts
Default

Well I gave all the recommendations a try. no errors, but also no change.

I should add that my ubuntu is a virtual machine that might be the cause problem. The setup is a default setup, so the behavior must be common to any other default virtual machine ubuntu.

Thanks for all the replies.
a1call is offline   Reply With Quote
Old 2017-11-29, 13:59   #33
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

2·3·31·47 Posts
Default

Quote:
Originally Posted by a1call View Post
What is the largest practical p for which
2^(p- 1) can be calculated?
That is limited by the memory of your computer to store it. Just clear all your memory (set all bits to zero) then set the last bit of your memory to 1, and there you are. It takes less than a second.

On a less joking note, here on this very forum the people found the smallest probable prime with at least a million digits. So, one of the largest PRPs we know and don't know if it is prime, has at least a million digits. This is "general form", i.e. nothing "special" about it.

If you go in the "trivia" territory, any mersenne number with a prime exponent is 2-prp, and even strong prp (easy to compute), so the largest "trivial" Poulet/Sarrus numbers we know is 2^M74207281-1. You can't find a bigger one right now...
LaurV is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Largest known k? Uncwilly Data 38 2009-07-17 05:39
Largest known prime Unregistered Information & Answers 24 2008-12-13 08:13
Largest 64 bit prime? amcfarlane Math 6 2004-12-26 23:15
largest factor ,i think. heryu Miscellaneous Math 10 2004-09-08 11:15
need Pentium 4s for 5th largest prime search (largest proth) wfgarnett3 Lounge 7 2002-11-25 06:34

All times are UTC. The time now is 22:28.

Mon Sep 28 22:28:51 UTC 2020 up 18 days, 19:39, 0 users, load averages: 1.52, 1.75, 1.70

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.