20191008 07:37:14 0500  answered a question  Creating a vector of indexed variables The Python identifier can't have brackets so this fails: but the LaTeX name can, so you can do: and then you would have in the Sage REPL: but in a Jupyter notebook, 
20191008 05:45:12 0500  answered a question  Sagemath 8.8 crash on startup on windows 10 The SageMath installer works by installing a "Linuxlike" layer for Windows called Cygwin. This operates at a rather low level, and various anti virus scanners tend to consider this lowlevel activity as "viruslike", and as a consequence they tend to get in the way of the SageMath installer, or of the Cygwin it installs. Depending on the antivirus software and how one configures it, it might just raise an alert, or block the software it thinks is viruslike, or try to destroy it. Recommendations:
If one runs the installer, or SageMath, before having told antivirus software to ignore it, and if antivirus software considers some of the lowlevel activity by the installer or by SageMath as viruslike, then such antivirus software might decide not only to block the installer or SageMath, but to remove it, or parts of it, making it nonworking later on, even if one later tells the antivirus software to ignore it. This applies not only to "trend micro" but also to "windows defender", "kaspersky", etc. 
20191008 05:41:16 0500  commented question  Sagemath 8.8 crash on startup on windows 10 Trend Micro is a cyber security company, and Trend Micro office scan is likely an antivirus scanner by that company. 
20191007 10:52:21 0500  answered a question  Factoring vs Prime identification Yes, checking that a number is not prime can be very easy, without factoring it: you just check that it does not satisfy some condition that all primes satisfy. For example, if $n$ is a prime, then for any integer $a$, we have $a^n$ is congruent to $a$ modulo $n$. Another way to say that is that if $n$ is an integer, and if there is any integer $a$ such that $a^n$ is not congruent to $a$ modulo $n$, then $n$ is not prime. Finding such an $a$ can be very cheap but it would not give a way to factor $n$. See the notion of probable prime and pseudoprime. 
20191006 10:32:16 0500  commented question  Hypergeometric Bug? To display blocks of code or error messages, skip a line above and below, and do one of the following (all give the same result):
For instance, typing
produces:
Please edit your question to do that. 
20191003 08:13:51 0500  commented question  expand large expressions made of complex functions and variables To display blocks of code or error messages, skip a line above and below, and do one of the following (all give the same result):
For instance, typing
produces:
Please edit your question to do that. 
20190924 15:07:21 0500  commented question  Illustrate column picture of matrix multiplication between a 3 x 4 matrix and a 4 x 2 matrix? Could you post code that can be copypasted into a fresh Sage session to illustrate your problem? Please edit the question to do that. 
20190924 15:07:18 0500  commented question  Illustrate column picture of matrix multiplication between a 3 x 4 matrix and a 4 x 2 matrix? Welcome to Ask Sage. Thank you for your question. 
20190904 06:23:21 0500  received badge  ● Nice Answer (source) 
20190901 12:54:35 0500  answered a question  donation button on Sagemath.org ? Thanks for your appreciation of SageMath! I find a lot of happiness in it too! There used to be a donation button for donating to "The Sage Foundation", a foundation supporting SageMath which was operated by the University of Washington; however this foundation has been discontinued. SageMath applying to become a sponsored project of NumFOCUS (or of its European equivalent, which is in the process of being created) is regularly discussed; this has not happened yet but I am sure it will become a reality in the not so distant future. In the meantime, you could make a donation to one or several of the NumFOCUSsponsored projects that underly SageMath, for example NumPy, Matplotlib, Jupyter, IPython, SymPy, CondaForge, MathJax... Or to other NumFOCUSaffiliated projects, for example Cython... Or to the Python Software Foundation. The "14 USD/month" you refer to is probably a CoCalc plan; note that you can subscribe to it once in a while for just a month or two, if that is the kind of amount you want to spend. Another way to help is to get Google Cloud starting credits and to set up some GitLab runners to help with the continuous development / continuous integration of SageMath. See the GitLabCI page on the SageMath wiki. 
20190828 05:49:43 0500  commented question  Sage not detecting integers in Boolean Polynomial Ring? Note: instead of you could use 
20190814 06:40:35 0500  received badge  ● Good Answer (source) 
20190813 17:12:54 0500  received badge  ● Nice Answer (source) 
20190813 04:42:42 0500  answered a question  Import sage in python3 As @Emmanuel_Charpentier hints at in his comment, this requires using Sage's Python. If you built from source, you can call Sage's Python with Or you could change your path so that Sage's Python is found first. Use with caution,
as other apps / scripts / uses may rely on Note that you can install SageMath using Conda; it will install for Python 3.
With the corresponding Conda environment activated, 
20190809 17:10:35 0500  commented question  Obtain a particular solution for a system of inequalities whose variables can only take certain values What is 
20190807 08:58:16 0500  received badge  ● Nice Answer (source) 
20190806 08:17:44 0500  marked best answer  Install optional packages (eg extra Jupyter kernels) on top of condainstalled SageMath Suppose one has installed SageMath using the conda package. How does one then install optional packages?
It seems For example, what would be the replacement for if one is using a condainstalled Jupyter and SageMath? 
20190806 08:14:59 0500  received badge  ● Popular Question (source) 
20190804 06:02:19 0500  commented answer  graphs of order n The documentation can be accessed with and it says this generator produces one representative for each isomorphism class. To get "all graphs", run through all subsets of the set of unordered pairs of integers among the first n integers and construct the corresponding graphs. 
20190804 03:48:15 0500  answered a question  Can someone explain this theorem from von Staudt on denominators of Bernoulli numbers. There are several ways to write 74 as a product: $74 = 1 \times 74 = 2 \times 37 = 37 \times 2 = 74 \times 1$. 
20190803 16:11:01 0500  answered a question  How do I install opencv in SageMath 8.8 on Windows 10 OpenCVPython provides Python bindings for OpenCV (free software for computer vision). To install it you need OpenCV itself, as well as Python, to be installed. Maybe try the following, in a Sage shell (which, if you installed Sage using the SageWindows installer, runs in Cygwin): Then install opencvpython with the command: 
20190803 16:07:59 0500  answered a question  Add labels to x/y axes Use 
20190803 16:05:56 0500  edited question  characteristics three field elliptic curve lliptic curve for characteristics three field How to generate elliptic curve from the following code as Elliptic Curve defined by $y^2 = x^3 + x^2 + 1$ over Finite Field in $a$ of size $3^{151}$ 
20190803 16:02:18 0500  commented question  no module string in sage on Debian 10 Please edit your question to specify how Sage was installed:

20190803 16:00:08 0500  answered a question  plot comment not working Try using 
20190803 15:56:02 0500  answered a question  graphs of order n The documentation is at and especially In particular the following generators exist: and there are many more options to nauty's geng. 
20190801 10:36:09 0500  commented question  Building Sage on legacy macos system 10.5.8 Congratulations on building SageMath on this legacy macOS! 
20190729 09:22:47 0500  commented answer  type error solving system of differential equations numerically @werner1717 if that answers your question please mark the answer as accepted by clicking the "accept" button (the one with a tick mark) at the top left of the answer. This marks the question as answered in the list of questions on the home page of Ask Sage. 
20190728 11:36:48 0500  edited question  type error solving system of differential equations numerically I tried to solve a differential system numerically as follows: and got a type error: 
20190721 09:47:21 0500  edited question  Generate all the monic polynomials up to degree n with coefficients in Zp(p prime number) field and find all the irriducible polynomials My code. 
20190721 09:45:24 0500  commented question  conda sagetex Duplicate of Ask Sage question 47184. 
20190712 10:16:39 0500  received badge  ● Nice Answer (source) 
20190712 06:03:52 0500  answered a question  How to change the unreadable dark blue colour in the SageMath command line window under Windows10? This is because the default color scheme in Sage is adapted to a light background, while SageWindows starts on dark background. There is an "ipython magic" that allows to choose the color scheme for syntax highlighting. At the Sage prompt, type: To make that permanent, add that line to your 
20190712 05:42:51 0500  answered a question  Constructing a number field with complex embedding Having defined: This works: This fails: The reason for why only embeddings of real numbers are supported is that nobody has done it yet. If you can do it, your contribution will be appreciated. Regarding your worry that there was a good reason: if so, the correct
thing to do would have been to add as a comment about the reason,
and to raise a 
20190712 02:20:59 0500  commented question  Is it possible to load a Maxima package into Sagemath? The package you have in mind is probably Dirac3 by Ted Woollett, right? 
20190712 01:06:52 0500  commented question  Is it possible to load a maxima package into Sagemath ? Duplicate of Ask Sage question 47129. 
20190708 13:07:09 0500  commented question  Factorization of multivariate polynomials over complex field Please give an example of what you would like to input and what output you would hope to get. 
20190708 13:06:17 0500  commented question  How to turn the function into expression? Instead of "I have some function f(x, y, z)", please paste
the actual code you wrote, for example
Also, instead of "I want to use some commands like [...] on it, but it is no more possible if it's a function", you could give an example of input and output that works, and an example of input that does not work, and say what you were expecting to get, and what error message you got. 
20190708 12:57:37 0500  commented answer  absolute value for the ln function @Sha  since this answers your question, please accept the answer (by clicking on the button with a tick mark); this will mark the question as answered in the main list of question on the Ask Sage homepage. 
20190703 06:42:21 0500  edited answer  What is the best way to implement polynomials with fractional exponents with SageMath? Polynomial with fractional exponents are also called Puiseux polynomials. Implementing Puiseux polynomials and Puiseux series in Sage is tracked at: See also this other Ask Sage question 