20200528 22:18:38 0500  commented question  email to sagesupport was returned Sorry about that. Not sure what went wrong with emaling sagesupport, it's supposed to work. Try joining the sagesupport mailing list first: Or you can ask here about your installation problem. 
20200527 09:01:14 0500  commented question  Why could not I install sage9.1OSX on Catalina? Duplicate of Ask Sage question 51571. 
20200521 14:00:25 0500  edited question  Strange behaviour in simplifying a function I am developping a long notebook to master Sage. But each time I fall on a problem. This time 1) this is the main question : You can observe that 2) How could we explain SM to write the slope of the 3 curves as I would write them in a sheet of paper ? 
20200521 13:56:18 0500  answered a question  how to generate a random 10 digit integer with 1 at last place? There are many ways. Here is a simple one using 
20200521 13:54:27 0500  commented question  how to generate a random 10 digit integer with 1 at last place? Duplicate of Ask Sage question 51479. 
20200517 12:40:23 0500  commented question  Elliptic Curve over Tower of Finite Field Please provide minimal complete code that can be copypasted in a fresh Sage session. Providing concrete values helps immensely by saving others the trouble of making lots of decisions. This allows others to help even if they are not experts in that field of mathematics. 
20200517 12:37:43 0500  edited answer  order finite field You can get the source code of the As you can see, this is basically a handler that decides which algorithm fits best since you did not specify one. In your case, it will use pari, so you have to look at the pari source code. You can also have a look at which implements "Mestre's trick", or which counts vertically over each 
20200516 21:37:12 0500  answered a question  PARI Group Labelling Forwarding this answer received from Alexander Hulpke:
[Related notes.] The Sage documentation page: points to the PARI documentation page: Note that it is after a previous similar question here: that the link to the PARI documentation was added in Sage: There is an open ticket to make it easier to extract information about a PARI group: 
20200516 21:25:53 0500  edited question  PARI Group Labelling I have a Galois group that I'm tying to determine: I have a couple of issues: When I type The second is the output for I know this is the PARI label and the last entry is the GAP 4 label. But for the life of me I cannot find anywhere where it explicitly tells me what 
20200514 18:07:17 0500  edited question  How can I get an image in 3D using the axial symmetry of the graph in polar coordinates. I have equations and the 2D curve drawing in polar coordinates. Equations and 2D curve drawing in polar coordinates. Plot both charts for parameters 
20200512 16:30:46 0500  commented question  Traveling Salesman Problem Can you provide the graph? 
20200512 13:14:38 0500  answered a question  Latex and SageMath Here is a function to convert the LaTeX string of a matrix into a Sage matrix. The function includes a bit of documentation with an example. To start directly from a string such as in a comment to the question: Note that the function provided above works for matrices with integer entries. It could be adapted to more general entries. 
20200512 12:35:23 0500  edited answer  Substitution in implicit function I am not completely sure about your question, but i guess that what you call "procedure" is actually a Python function, which you can define using the Then, calling: leads to $dV = \left( w_{1}, w_{2}, a, p \right) \ {\mapsto} \ a \mathit{dw}_{1} p w_{1}^{a  1}  a \mathit{dw}_{2} {\left(p  1\right)} w_{2}^{a  1}$ $\frac{\mathit{dw}_{2}}{\mathit{dw}_{1}} = \frac{p w_{1}^{a  1} w_{2}^{a + 1}}{p  1}$ and leads to $dV = \mathit{dw}_{1} \frac{\partial}{\partial w_{1}}V\left(w_{1}, w_{2}\right) + \mathit{dw}_{2} \frac{\partial}{\partial w_{2}}V\left(w_{1}, w_{2}\right)$ $\frac{\mathit{dw}_{2}}{\mathit{dw}_{1}} = \frac{\frac{\partial}{\partial w_{1}}V\left(w_{1}, w_{2}\right)}{\frac{\partial}{\partial w_{2}}V\left(w_{1}, w_{2}\right)}$ 
20200511 16:36:56 0500  edited question  𝙸𝙿𝚢𝚝𝚑𝚘𝚗.𝚌𝚘𝚛𝚎.𝚍𝚒𝚜𝚙𝚕𝚊𝚢.𝙷𝚃𝙼𝙻𝚘𝚋𝚓𝚎𝚌𝚝 What means
It seems to be a complaint since nothing happens when this warning is displayed but it's not always the case? I found no documentation on this. 
20200511 16:36:02 0500  commented question  𝙸𝙿𝚢𝚝𝚑𝚘𝚗.𝚌𝚘𝚛𝚎.𝚍𝚒𝚜𝚙𝚕𝚊𝚢.𝙷𝚃𝙼𝙻𝚘𝚋𝚓𝚎𝚌𝚝 Please include a way to reproduce: what input will cause this output? 
20200511 16:34:39 0500  edited question  How can I find the points on the hyperelliptic curve? How can I find points on a hyperelliptic curve? For example, consider the curve defined by the equation $$ y^2 =2000 x^6 + 8000 x^5 + 27625 x^4 + 70500 x^3 + 345750 x^2 + 62500 x + 1968750 $$ How can I find points on that curve? 
20200510 04:56:37 0500  commented question  Automatic substitution of unicode characters Short code block to illustrate the problem please. Something we can copy and paste in a fresh Sage session. Would save time for anyone interested in exploring. 
20200510 04:52:05 0500  commented question  jupyter_contrib_nbextensions What command did you run. What error message did you get. 
20200509 09:49:22 0500  answered a question  Boolean answer The booleans A workaround is to build a class Note that we make Use To go further, you might even decide to call this class I wonder if that might have unexpected sideeffects. To be more cautious, call the class Revert to the usual booleans if needed by running or If you really like having booleans display in French and don't mind
the unusual setup, you could put the definition of Other ideas of how to name this class:

20200509 09:09:19 0500  commented question  Sagemath on Chromebook with Linux (Beta) Not quite answering your question, but somewhat related: William Stein wrote notes on turning a Pixelbook into a development environment with ChromeOS + Crostini + a local installation of CoCalc. 
20200509 09:08:36 0500  answered a question  Sagemath on Chromebook with Linux (Beta) William Stein wrote notes on turning a Pixelbook into a development environment with ChromeOS + Crostini + a local installation of CoCalc. 
20200509 08:57:37 0500  answered a question  Run a notebook from console Some options are discussed at The following tool could also be useful: 
20200509 08:51:58 0500  answered a question  Code and markdown cell To display code in a Markdown cell in Jupyter, use single backticks for inline code, triple backticks for code blocks. For example: will render as
Some Jupyter Notebook and JupyterLab extensions allow to evaluate code in a Mardown cell in Jupyter. See: 
20200509 08:40:54 0500  commented question  Code and markdown cell Do you mean code to be displayed, or code to be evaluated? 
20200509 01:32:59 0500  received badge  ● Good Answer (source) 
20200508 16:06:27 0500  edited question  Polynomial ring over the ring of integers modulo 3 I am using SageMath and I want to use a polynomial ring in this form: (Z/3)[x]/(x^p  x  1) , with Z as polynomial ring over integer Ring. How can I build that? Until now I only could declare Z[x]/x^p  x  1 
20200508 16:03:08 0500  commented question  Issues with numpy.linspace() The way the code appeared while the code portions of the
question were not properly formatted as code, the asterisks
for multiplication ( @nooniensoong97  if you managed to solve the problem, please post the solution as an answer here, and accept the answer so that the question is marked as solved. 
20200508 04:11:08 0500  received badge  ● Nice Answer (source) 
20200508 02:57:30 0500  edited question  SageTeX: formatting matrices Hello all, I would like to have sagetex producing matrices with the columns centered. If was writing this by hand, I would do
From my XXX.sout file, I see the result Thanks! 
20200508 02:56:26 0500  edited question  Issues with numpy.linspace() The following code: produces the following error: 
20200507 21:18:19 0500  answered a question  SageTeX: formatting matrices Sage allows changing the delimiters and the column alignment that are used for creating the LaTeX form of a matrix. Define a matrix: Default LaTeX form: Modify settings: New LaTeX form: How to find such things by oneself? The LaTeX form of Inspect the documentation and the source code with 
20200506 16:13:51 0500  commented answer  “python3.7” cannot be opened because the developer cannot be verified. Glad this helped, and thanks for explaining which particular link and command helped. 
20200506 14:55:13 0500  commented answer  SSL error using sage pip install to download a package @Szabolcs. Good point. I edited my answer, adding a warning as you suggest. Sorry for the frustration. Note that @Sébastien's answer did have such a warning. Please ask about other pain points, here or on sagesupport or on sagedevel, or open tickets on Sage Trac. While Sage is building, hopefully one of Binder, SageCell or CoCalc can provide a way to get work done. (Or install a second version of Sage if you have enough disk space.) 
20200506 14:21:32 0500  edited answer  SSL error using sage pip install to download a package Installing extra Python packages for Sage on macOSTo "pip install" extra packages, pip needs to be able to establish secure connections. This requires the underlying Python to have its SSL module available. On most Linux distributions, people normally have OpenSSL installed as part of their distribution, so we ship Sage binaries whose Python is compiled with its SSL module, and it will generally work. On macOS, Apple uses another way to deal with secure connection, and does not provide the openssl package as part of the operating system. The binaries we ship for macOS don't have OpenSSL because it was up to now licensed under "the OpenSSL license" which did not allow to distribute it along with GPLlicensed software such as Sage. This is about to change since OpenSSL 3 will be licensed under the Apache 2.0 license. which will allow distributing OpenSSL with binaries of GPLlicensed software such as Sage. So far (202004), only a preliminary version of OpenSSL 3 is out. Maybe by the end of 2020 this will be solved for good. In the meantime, macOS users who want to expand their Sage with extra Python packages have a few choices, including: a. download Python packages and install them locally b. modify one's Sage installation to give its Python the SSL module c. use a version of Sage whose Python has the SSL module Below some more details about each of these options. In terminal commands below, the initial a. Download Python packages and install them locallyFirst note that running The PyPI page for Visit that page in a web browser and find an option there
to download Then run the following (adapt path and filename if needed): This whole "go visit some webpage, download a zip, and
run In particular, no risk of damaging your Sage installation and getting it to a nonworking state. b. Install OpenSSL on an existing Sage installationThere are two ways to do that: b.1 is the easiest, and b.2 is a little more involved. b.1. ReadymadeThe easy way is provided by the developers of computational topology software packages (for studying the topology of threemanifolds). That software can be made to work with Sage and they found a way to provide just the right pieces to fix a Sage installation. Download "fix_mac_sage8.tgz" or "mac_sage9.tgz" (respectively for Sage 8.x and Sage 9.x) from the page: Then unpack and follow the instructions in the README file found in the unpacked folder. b.2. Rebuilding a lot of thingsThis is a different way of obtaining the same result one would get by following b.1. Warning: it takes a lot longer. It leaves you without a working Sage installation while it is running. In addition, if it fails, it could break your Sage installation, in which case you have to reinstall Sage. (In that case you might want to use option c). There is a preliminary, which is to have Apple's "commandline tools for developers" installed. To install those, run this command in a terminal: This will either tell you that the commandline tools are already installed, or open a dialog to let you install them. Once this is done, it might be a good idea to restart your computer. Not sure it's needed but it can't hurt. Now we are almost at the crucial step. This step will
take a long time (up to hours) as it forces the rebuild
of Sage's To mitigate that, optionally, set the number of jobs
that To check how many processors can be used, run this: Then, to set Now these two commands should work (but to warn again, it's happened to me that it did not work and left me with a broken Sage which I did not know how to repair): If that worked, you should be able to run to install any Python package c. Installing Sage with SSL supportWe now mention ways to perform a complete installation of Sage with OpenSSL support. There are several choices including:
On several computersIf you have several computers with the same version
of macOS, you might be able to transfer Sage installations
from one to the other, as long as you put them at the
exact same location, for example Use your favourite way to transfer files:
Careful, a Sage installation can be quite big, so it might not fit on a USB drive especially if it is formatted as "FAT" (which does not allow files over 4 GB). If needed, after compressing to zip or targz or other, split the file into several parts, put the parts on a usb drive, and reassemble the parts on the other side. See this for details: 
20200506 13:50:30 0500  answered a question  Can't plot a function The command For the combinatorial function in the question, only integer values matter. The corresponding plotting function is 
20200505 18:09:52 0500  commented question  Boolean conditional function Could you please edit the question to make it more consistent:

20200505 18:05:23 0500  answered a question  Boolean conditional function To complement @tmonteil's answer. In some cases a lambda function is also okay. It takes up less lines than a Then: 