Ask Your Question

61plus's profile - activity

2020-09-21 22:00:29 +0100 received badge  Scholar (source)
2020-09-19 18:56:50 +0100 commented answer Which subgroups do conjugacy_classes_subgroups() return

Thank you! That is very helpful.

2020-09-19 16:28:26 +0100 received badge  Supporter (source)
2020-09-19 04:22:58 +0100 received badge  Editor (source)
2020-09-19 02:29:46 +0100 asked a question Which subgroups do conjugacy_classes_subgroups() return

Starting with a group G and subgroup H (up to conjugacy), my task is to find all subgroups (up to conjugacy) that contains H.

  1. Do the subgroups returned by conjugacy_classes_subgroups() satisfy the property that if K and L are two of the returned subgroups such that a conjugate of K is a subgroup of L, then K is a subgroup of L (we can construct a lattice from the subgroups returned)

  2. If not, what will be the most optimal way to do this? My current algorithm checks if any conjugate of H is a subgroup of the list returned in conjugacy_classes_subgroups().

2020-06-17 06:27:55 +0100 received badge  Student (source)
2020-06-16 05:47:39 +0100 commented question Cannot install packages on WSL

Ok I sort of solved it. I installed the package I wanted by: sudo apt-get install gap_sonata, and it works perfectly.

2020-06-16 00:59:14 +0100 commented question Cannot install packages on WSL

What I did was I enabled WSL and installed Ubuntu, then via Ubuntu I installed Sage by one of the installation commands. I think it was "apt-get install sagemath"?

2020-06-15 22:23:26 +0100 asked a question Cannot install packages on WSL

I am using Windows 10 have tried to use sage via WSL. I can open sage via Ubuntu. However, I cannot install gap_packages as "sage -i" is not in the commands available. Can anyone tell me how to get sage -i to work, or is there any other way to install this package.

SageMath version 9.0, Release Date: 2020-01-01

Optional arguments: file.[sage|py|spyx] -- run given .sage, .py or .spyx file -advanced -- list all command line options -c <cmd> -- Evaluates cmd as sage code -gap [...] -- run Sage's Gap with given arguments -gp [...] -- run Sage's PARI/GP calculator with given arguments -h, -? -- print this help message -inotebook [...] -- start the insecure Sage notebook (deprecated) -maxima [...] -- run Sage's Maxima with given arguments -mwrank [...] -- run Sage's mwrank with given arguments --notebook=[...] -- start the Sage notebook (valid options are 'default', 'sagenb', 'jupyter', and 'export') Current default is 'export' from sagenb to jupyter -n, --notebook -- shortcut for --notebook=default -python [...] -- run the Python interpreter -python2 [...] -- run the Python 2 interpreter -python3 [...] -- run the Python 3 interpreter -R [...] -- run Sage's R with given arguments -singular [...] -- run Sage's singular with given arguments -sqlite3 [...] -- run Sage's sqlite3 with given arguments -root -- print the Sage root directory --nodotsage -- run Sage without using the user's .sage directory: create and use a temporary .sage directory instead -t [options] <--all|files|dir> -- test examples in .py, .pyx, .sage, .tex or .rst files selected options: --long - include lines with the phrase 'long time' --verbose - print debugging output during the test --optional - controls which optional tests are run --sagenb - test all sagenb files --help - show all testing options -v, -version -- display Sage version information

2020-05-22 14:57:30 +0100 asked a question AsPermGroup Error

Hi, I am trying to run the following code in SAGE:

G = gap.SmallGroup([5,1])
print(G.AsPermGroup())

and I am getting the following error:

RuntimeError: Gap produced error output Error, no method found! For debugging hints type ?Recovery from NoMethodFound Error, no 1st choice method found for `AsPermGroup' on 1 arguments executing __SAGE_LAST__:="__SAGE_LAST__";;AsPermGroup(\$sage899);;

I have tried reading what the other posts have suggested, like copying the SONATA library into the SAGE files, but it is not working for me. Also I have trouble installing packages into SAGE too. My system is Windows 10.

The code works perfectly fine on CoCalc, which I assume all the packages are working perfectly fine.