Ask Your Question

tmonteil's profile - activity

2024-02-15 15:22:47 +0200 received badge  Good Answer (source)
2023-11-13 11:00:26 +0200 received badge  Notable Question (source)
2023-10-02 19:37:33 +0200 edited question Pollard method for discrete logarithms (sage code)

Pollard method for discrete logarithms (sage code) I'm trying to run the following Sage code from Introduction to Crypto

2023-08-31 17:50:26 +0200 commented answer checking if element of QQbar is in QQ

This might not work since the containment test for Sage elements does something similar, see the source code at: sage:

2023-08-31 17:49:33 +0200 commented answer checking if element of QQbar is in QQ

This might not work since the containment test for Sage elements does something similar, see the source code at: sage:

2023-08-31 00:37:18 +0200 commented question checking if element of QQbar is in QQ

If x denotes your algebraic number, you can provide a way to reconstruct it by copying the output of: sage: sage_input(

2023-08-31 00:37:09 +0200 commented question checking if element of QQbar is in QQ

If x denotes your algebraic number, you can provide a way to reconstruct it by copying the output of: sage: sage_input(

2023-07-30 02:08:15 +0200 received badge  Nice Answer (source)
2023-07-04 14:20:59 +0200 received badge  Good Answer (source)
2023-06-21 15:39:20 +0200 received badge  Nice Answer (source)
2023-05-23 19:39:19 +0200 received badge  Good Answer (source)
2023-05-19 14:44:52 +0200 received badge  Nice Answer (source)
2023-04-12 20:49:43 +0200 edited question How do I turn on and off line numbers?

How do I turn on and off line numbers? I get the sage prompt, but it has no line number. Example: sage: 4+5 9 sage:%h

2023-04-09 21:37:29 +0200 edited answer Finding representation of a given number as a sum of squares

Partial answer : for a single representation, you can use the sum_of_k_squares function : sage: sum_of_k_squares(3, 123

2023-04-09 21:36:32 +0200 answered a question Finding representation of a given number as a sum of squares

Partial answer : for a single representation, you can use the sum_of_k_squares function : sage: sum_of_k_squares(3, 123

2023-03-27 23:45:43 +0200 commented question Scientific notation matrix

Could you please provide a concrete example of a matrix you want to deal with. The answer might depend on its parent.

2023-03-13 22:38:14 +0200 edited answer How to define function with indexed variables and sum

Would something like the following help ? def f(n): return sum(SR.var('x_{}'.format(k))*SR.var('x_{}'.format(k+1))

2023-03-13 22:37:43 +0200 edited answer How to define function with indexed variables and sum

Would something like the following help ? sage: def f(n): ....: return sum(SR.var('x_{}'.format(k))*SR.var('x_{}'.f

2023-03-13 22:37:31 +0200 answered a question How to define function with indexed variables and sum

Would something like the following help ? sage: def f(n): ....: return sum(SR.var('x_{}'.format(k))SR.var('x_{}'.fo

2023-03-13 13:04:00 +0200 received badge  Good Answer (source)
2023-02-05 09:31:21 +0200 commented question laplace transform sagemaths

Could you please provide the code to construct P, x and A so that we can reproduce your issue ?

2023-02-05 09:24:35 +0200 answered a question Can I change the MPFI default printing style ?

You can print the endpoints of the interval: sage: print(a.endpoints()) (0.000000000000000, 1.00000000000000)

2023-01-23 18:43:51 +0200 edited answer polynomial variable rewrite

To express the fact that $t=x^2$ you can define a quotient: sage: R.<x,t> = PolynomialRing(QQ) sage: p = x^4+x^2+

2023-01-23 18:43:10 +0200 answered a question polynomial variable rewrite

To express the fact that $t=x^2$ you can define a quotient: sage: R.<x,t> = PolynomialRing(QQ) sage: p = x^4+x^2+

2023-01-23 18:33:01 +0200 answered a question polynomial variable rewrite

You have to define the polynomial ring in the undeterminate t, and then use the subs method: sage: R.<x> = Polyno

2023-01-22 12:27:30 +0200 received badge  Nice Answer (source)
2023-01-21 13:32:26 +0200 answered a question Converting a list of list of strings to list of list of numbers

Let L denote your first list: sage: L = [['1.1 1.2 1.3'], ['2.1 2.2 2.3'], ['3.1 3.2 3.3'], ['4.1 4.2 4.3']] You can

2023-01-11 15:20:12 +0200 received badge  Good Answer (source)
2023-01-10 02:35:03 +0200 commented answer Bug in general power of a matrix

Fixed now !

2023-01-10 02:26:43 +0200 commented answer Sage incorrectly evaluates series

It is indeed now fixed: sage: n = var('n') sage: sum(1/((2*n+1)^2-4)^2, n, 0, Infinity) 1/64*pi^2

2023-01-10 02:16:25 +0200 commented question Strange AttributeError

Indeed: sage: bool(-1/2*csc(3/8*pi + x)^2/cot(3/8*pi + x) + 1/cos(1/4*pi + 2*x) == 0) False

2023-01-10 02:14:25 +0200 edited answer Undefined control sequence when showing multiplication table

You found a bug!! When, you call show, Sage calls view and latex functions, and the latex function produced with Z5 is t

2023-01-10 02:12:41 +0200 edited answer Roots of polynomials over a non-prime finite field in a given extension

This is now fixed: sage: h.roots(ring=G) [(a*b^2 + (a + 1)*b + a + 1, 1), (b^3 + b^2 + b + a, 1), (a*b^3 + a*b^2 + (a

2023-01-10 02:10:50 +0200 answered a question Roots of polynomials over a non-prime finite field in a given extension

This is now fixed: sage: h.roots(ring=G) [(a*b^2 + (a + 1)*b + a + 1, 1), (b^3 + b^2 + b + a, 1), (a*b^3 + a*b^2 + (a

2023-01-10 01:57:20 +0200 answered a question Unexpected result for the sum of a series

This bug is fixed: sage: n = var('n') ....: sum(1/((2*n-1)^2*(2*n+1)^2*(2*n+3)^2), n, 0, oo) 3/256*pi^2 Setting tags

2022-11-20 13:19:55 +0200 received badge  Famous Question (source)
2022-11-03 12:26:32 +0200 received badge  Nice Answer (source)
2022-10-21 23:06:51 +0200 commented answer Finding all non-isomorphic $C_5$-free connected planar graphs of order 11.

I guess this would be useless since the generation algorithm works by augment edges (see the doc of the corresponding op

2022-10-17 14:01:07 +0200 commented answer Finding all non-isomorphic $C_5$-free connected planar graphs of order 11.

The library that is used by the graphs generator is nauty, which is supposed to return non-isomorphic graphs (as graphs,

2022-10-17 09:34:54 +0200 commented answer Finding all non-isomorphic $C_5$-free connected planar graphs of order 11.

The library that is used by the graphs generator is nauty, which is supposed to return non-isomorphic graphs.

2022-10-16 22:46:50 +0200 commented answer Finding all non-isomorphic $C_5$-free connected planar graphs of order 11.

I updated my answer, thanks !

2022-10-16 22:46:38 +0200 edited answer Finding all non-isomorphic $C_5$-free connected planar graphs of order 11.

You can have a look at the questions tagged graph_generation for more details and explanations about the following, see

2022-10-16 17:50:00 +0200 answered a question Finding all non-isomorphic $C_5$-free connected planar graphs of order 11.

You can have a look at the questions tagged graph_generation for more details and explanations about the following, see

2022-10-14 11:28:28 +0200 commented question In SageMath 9.2 :"TypeError: unable to make sense of Maxima expression" .What does it mean ?

Added confirmed_bug tag, see https://ask.sagemath.org/questions/scope:all/sort:activity-desc/tags:confirmed_bug/page:1/

2022-10-12 21:14:00 +0200 received badge  Nice Answer (source)
2022-09-29 11:47:53 +0200 commented question Random non-induced subgraph

Do you want to achieve equiprobability of each subgraph ? If yes, first selecting the vertices and then the eges might n

2022-09-27 12:28:27 +0200 commented question Partition n into perfect kth powers

How large is n ? Could you please provide a tuple (n,k) that you would like to be solved ?

2022-09-27 12:27:07 +0200 commented question Partition n into perfect kth powers

How large is n ?

2022-09-26 16:11:21 +0200 commented question solve (3x − 2)(5 − x) > 0.

Is it homework ? Could you please tell us what didi you try to solve that problem ?

2022-09-26 16:08:07 +0200 commented question How to construct prime ideal of the form q = < q, ι − rι , x − rx>?

Is it homework ? Are the characters ρ , r and ι copy-pasted ? What is the relationship between ρx and x ?