20200702 04:31:53 0500  commented answer  How to organize a list according to an other list you can always hide loops, for example by replacing them with recursive calls of functions. 
20200702 02:45:48 0500  answered a question  How to organize a list according to an other list For every sublist of Note that this way, the elements in the sublists are not sorted in the same order (but i guess you do not mind given the description). 
20200701 16:04:48 0500  commented answer  Adding edges to a graph .^_^ . 
20200701 10:49:15 0500  answered a question  Adding edges to a graph Your loop Here, the property P is "being trianglefree and having chromatic number at most 3", which is stable by edge removal. Hence So, here is a possible way to construct the maximal graphs you are looking for: You can use that function to count the graphs you ar looking for: You can then search in the OEIS, in case something is known about such sequence: Unfortunately, the next term differs: So, for graphs with 11 vertices, being maximal trianglefree is not equivalent to being maximal trianglefree and 3colorable. You can see the following answers to get more details about generation of graphs satisfying an hereditary property: 
20200701 10:22:09 0500  answered a question  Simplifying expression by known terms Since you symbolic expression is a polynomial, i would suggest to work in polynomial rings: You can replace the substitution by working in a quotient ring: And see how your polynomial behaves there: You can lift the result back to the initial polynomial ring : And make it a symbolic expression if needed: 
20200630 16:42:57 0500  answered a question  nearby algebraic number / convert polynomial type to expression type Since there are no integer roots, You can however ask for its roots as algebraic numbers: or as symbolic expressions: or even as floatingpoint real numbers: 
20200623 05:45:24 0500  commented answer  Why does implicit multiplication not work in the Sage Cell Server? I doubt there is an easy way without modifying sagecell (or running your own). 
20200622 17:19:50 0500  answered a question  t == 1/2*(2/45*I*sqrt(4613)*sqrt(3)  82/5)^(1/3)*(I*sqrt(3) + 1) + 1/3*(10*I*sqrt(3)  10)/(2/45*I*sqrt(4613)*sqrt(3)  82/5)^(1/3) You can use the https://sagecell.sagemath.org/?z=eJwr... If you have multiple such formulas in a jupyter notebook, you can also add: in some cell, so that every formula will be turned into LaTeX once that cell is evaluated. 
20200622 17:16:34 0500  answered a question  y == 1/4*sqrt(5) + 1/4*I*sqrt(2*sqrt(5) + 10)  1/4, You can use the 
20200622 12:58:33 0500  answered a question  assume gives false for a<oo First, you should know that for symbolic computations, That said, for such simple comparison, Sage should indeed be able to decide, hence i consider this as a bug. Thanks for reporting, this is now trac ticket 29938 and it is also listed on the symbolic wiki page 
20200617 19:08:40 0500  answered a question  Why does implicit multiplication not work in the Sage Cell Server? I think this is not specific to SageCell. It is the same in jupyter. If, in a single cell, you write: You will get an error. But if you put the two lines in different cells, then it will work. To take another example, you can do: You will get About the Sage preparser, see https://doc.sagemath.org/html/en/refe... The sagecell works like a single jupyter cell. 
20200617 13:39:16 0500  answered a question  A way to recuperate data computed to construct an histogram The histogram is just an image: hence you will not be able to get those data from it easily. 
20200617 04:55:02 0500  commented question  A problem with Pandas dataframe (Need help urgently) Could you please make the file 
20200615 05:04:15 0500  answered a question  importing hyperbolic geometry modules This is not about an optional

20200614 15:05:28 0500  answered a question  Is the `hex(31)` conversion deprecated or not? It is a known issue, but no consensus was found about fixing it, see https://groups.google.com/forum/#!msg... 
20200614 15:05:19 0500  answered a question  Is the `011` notation for octal 11 deprecated or not? It is a known issue, but no consensus was found about fixing it, see https://groups.google.com/forum/#!msg... 
20200609 19:38:36 0500  commented answer  Monomial with power modulo n @emmanuelcharpentier : i used 
20200609 06:37:51 0500  received badge  ● Nice Answer (source) 
20200609 05:36:28 0500  answered a question  Monomial with power modulo n You can make a polynomial quotient ring: Then, you can do Also, if your coefficients turn out to be rational, i would sugest to define 
20200608 15:52:58 0500  answered a question  factoring an expression I am not sure about the context, but you can do: 
20200608 15:18:07 0500  commented question  Roots of a function What do you mean by root ? Do you mean branch of the cube root ? 
20200608 05:47:12 0500  answered a question  How do I write a code which gives me all prime ideals up to a specific norm? You just have to do: What you get is a Python dictionary, whose keys are the norms, and the values are Python lists of the ideals with given norm. For example: is an empty list since there is no ideal with norm 3 is a list with 2 elements: you can access them as follows: Now, if you want all those ideals without caring about their norm, you can do: or 
20200607 17:22:49 0500  answered a question  How to define conditionaly two vector from one You should replace: with 
20200606 05:53:28 0500  answered a question  Replace all numbers < en by 0 The You can also directly use: 
20200602 06:28:01 0500  answered a question  Ignoring binary string monoid Let me just add a warning: if you want to make which looks pretty weird. This is due to the fact that the number: starts with a 
20200602 06:23:28 0500  answered a question  How to identify binary digits as integers? You can make a conversion: Unfortunately, there is no direct conversion to but you can first make 
20200601 15:40:25 0500  commented question  Variable elimination in Sage Could you please provide a concrete example of system you are considering, and which behaviour you expect ? 
20200601 08:51:48 0500  commented question  Removing some element of a list according to the zero of another How is 
20200601 08:46:03 0500  commented question  Get point coordinates of curve over number field Could you please provide the construction of 
20200531 19:44:10 0500  answered a question  Convert between different ways of expressing permutations I am not sure about your exact question, but you might start with: Regarding KazhdanLusztig polynomial for Weyl groups, you can have a look at : 
20200531 18:38:53 0500  commented answer  Pb with an integer random draw
Maybe you overwrrote it ? 
20200531 06:54:30 0500  answered a question  jupyter doc You can have a look at the first worksheet of this tutorial https://tmpsage.metelu.net/cirm2019/ It starts with a Jupyter survival guide : edit mode vs command mode + some shortcuts. You can also have a look at this tutorial : https://doc.sagemath.org/html/en/prep... but it still has some sagenbrelated stuff (to be removed soon). You can reuse both (CC BYSA 3.0 licensed) 
20200531 06:10:46 0500  answered a question  Clickable Image Assume that in a code cell you did: so that the file Now, to make a cickable image from that image to https://ask.sagemath.org/, you can do in a markdown cell: Now, within an interact, the question is less clear, if you want the click to be interpreted by the interact, you can have a look at : https://github.com/sagemath/sagecomb... 
20200530 14:18:59 0500  edited answer  Equating coefficients of multivariate polynomials Whe you write : The product In particular, you lose the polynomial structure in The first approach is to let Sage consider Then you can extract the nonzero coefficients: There is of course no solution since Another approach is to let the coefficients be elements of another polynomial ring Now, the common zeroes of the coeficients of Which is empty as well. 