20210313 14:06:23 +0200  received badge  ● Popular Question (source) 
20200415 18:06:37 +0200  commented answer  Interact selector containing card suits Thank you, it is great. Also thanks for the second part. 
20200415 15:27:34 +0200  commented question  Interact selector containing card suits That is what I looked for. It seems that the code works online using SageMath Cell, but not in Jupyter Notebook. 
20200407 11:33:07 +0200  asked a question  Interact selector containing card suits I have the following code that used to work in the Python 2 era: Now it provides. Is there a way to have the expected symbols in the selector? Thank you for your suggestions in advance. OK, it seems to work online using SageMath Cell, in case of Jupyter Notebook I still do not know an answer. 
20200201 14:48:21 +0200  received badge  ● Commentator 
20200201 14:48:21 +0200  commented question  SageTeX: sagecommandline problem You are completely right, thank you. In memoire documentclass it works fine, it is the elegantbook documentclass that makes the problem. 
20200131 11:51:09 +0200  asked a question  SageTeX: sagecommandline problem As a simple example of the problem I have encountered the output looks fine except that the printed matrix $M$ overlaps with the definition of the vector $v.$ Is there a way to add some vertical space below the displayed matrix? 
20191108 23:16:28 +0200  received badge  ● Necromancer (source) 
20191108 22:21:39 +0200  answered a question  Solving 3rd degree Diophantine equation in Sage The elliptic curve $E_1: y^2=x^3x/25+9/125$ is isomorphic to the one $E_2: Y^2=X^325X+9\cdot 5^3,$ here we have $X=25x.$ Integral points on $E_1$ are integral points on $E_2.$ The latter can be computed via Sage. Hence the only candidates are $(4/25 : \pm 33/125 : 1)$ on your curve. Therefore there are no integral points. 
20191022 11:42:14 +0200  commented answer  Elliptic curves  morphism Thank you very much, it work well. 
20191022 10:04:13 +0200  asked a question  Elliptic curves  morphism Consider the example from the documentation: how to obtain the morphism in this case? 
20181225 12:23:45 +0200  received badge  ● Nice Answer (source) 
20180104 21:51:09 +0200  commented question  Changes of variable from quartic to Weierstrass Just a tiny modification of the above code: it yields: 
20170125 15:33:28 +0200  commented answer  points on elliptic curve Thanks @nbruin for the correction, now using the second suggested test we may go as the result is simply []. 
20170124 22:05:56 +0200  answered a question  points on elliptic curve I guess the second point Q is given by [57,216]. I use it in what follows. The result is: e.g. 2P=(339 : 6156 : 1) and 2Q=(339 : 6156 : 1). 
20170104 19:30:45 +0200  answered a question  FunctionField with more than 1 variable Thank you for the workaround, it helps to compute what I need. There is a small gap at the end, I need to define a polynomial ring over the function field and factor certain polynomials over it. The error message is that it is not implemeted, but I know some factors and I could reduce the problem to a quadratic polynomial. 
20170104 15:41:55 +0200  asked a question  FunctionField with more than 1 variable I have tried the following to construct an appropriate function field: as a result I got after that I looked for the documentation but only find one variable examples. I also tried a few more versions like but did not work. Thank for any advice in this direction in advance. 
20161128 15:13:01 +0200  received badge  ● Nice Answer (source) 
20161127 19:05:54 +0200  answered a question  How to get latex expression in exponential notation? The following may help: it gives what you need J K^{1}. 
20161127 12:30:33 +0200  marked best answer  Strange output using qsub I wrote a Sage code and it works fine on my notebook: nohup < QE.sage > QE.txt & the output file QE.txt looks OK. When I try to use the same code on a cluster using qsub q test.q QE.sh then the output is here QE.sh is as follows Also if I use @parallel() on my notebook, then it works as expected: The CPU time is about 2 sec on my notebook using 2 cores on the cluster using less than 12 cores it prints the first pair and that is it after running (not waiting in the que) more than 2 hours. My questions are:

20161127 12:30:33 +0200  received badge  ● Scholar (source) 
20161127 12:23:33 +0200  answered a question  Constant coefficient of Laurent Polynomials You may try the following: It gives a6 as you expect and e.g. is equal to a4. Also you can determine the coefficient of any monomial: is 1. 
20161120 22:39:14 +0200  received badge  ● Good Answer (source) 
20161120 00:07:50 +0200  received badge  ● Nice Answer (source) 
20161119 23:15:54 +0200  answered a question  General power of a matrix? In many cases the following works: Here one obtains An as follows: It does not work if the given matrix is not similar to a diagonal matrix. 
20161103 17:59:49 +0200  commented answer  point addition on elliptic curve In fact I just picked up some points to demonstrate point addition over this domain. As I see now your point Q is given, it is not a general point (X,Y) so I am not sure if you really need this FunctionField stuff. Anyway, you can combine @slelievre code with mine: that provides and 2*P+Q is a nice point (more) 
20161102 20:58:08 +0200  answered a question  point addition on elliptic curve Something that may help: Here the answer is as follows: and 
20161029 00:15:35 +0200  answered a question  Elliptic curve defined with parameter You may try the following there are many functions to be applied for your curve E: SageMath Doc. Define a point e.g. and compute the double point: To determine some more "small" points on your curve: which provides: 
20161027 18:53:47 +0200  commented answer  programming of looping to print selected value of m Is not x=(121043P2*P)[0]? 
20161027 14:23:50 +0200  answered a question  Polynomial ring modulus integer to univariate polynomial ring over the Integers Your code is almost there, probably you need the following: Here you obtain 
20161027 14:14:36 +0200  answered a question  programming of looping to print selected value of m You may try something like but when m=3 you have and D=W[0] will not be defined. The same happens for m=5 also and for many other values I would guess. 
20161027 13:45:57 +0200  answered a question  change padic precision in elliptic curve Your code is pretty close to what you want: the answer is 
20161016 22:39:14 +0200  answered a question  nth power of matrices You can find an interactive Sage application here: http://shrek.unideb.hu/~tengely/Magya... the last part is "Mátrixok nedik hatványának zárt alakja", it is in Hungarian, but the mathematics and Sage command will help I think. In case of your example this code will not work, the eigenvalue 1 has multiplicity larger than 1. To make it work the computation related to the eigenvectors should be modified. At the above page the matrix is given by 
20161012 18:26:41 +0200  received badge  ● Student (source) 
20161012 17:40:53 +0200  asked a question  Groupring element in pretty_print I have the following code: The first element $A_{11}$ appears as $+2(1,2)$ instead of $()+2(1,2).$ Is it possible to protect the groupring element $()$ somehow? Thanks for the answers in advance. 
20161012 17:23:19 +0200  commented answer  solve linear system in GF(7) Completely right, thank you for the comment. 
20160530 12:09:20 +0200  commented answer  solve linear system in GF(7) It works in the same way: The result is: 