Skip to main content

All Questions

0 votes
1 answer
55 views

Generating a 2 variables polynomial with constraints

I would like to generate automatically a polynomial in two variables $(s,t)$ which is symmetric under the exchange of those variables. There are three kinds of terms; at order $k$, we have $$(s+t)^k, \...
Rubilax96's user avatar
3 votes
1 answer
105 views

Generate multivariate monomials with constraints

I'm trying to generate multivariate monomials in variables $p_1, \ldots, p_n$. Each monomial has either $p_i$ as a factor, otherwise $(1-p_i)$. I need to generate all monomials which have exactly $k$ ...
Milind Hegde's user avatar
1 vote
2 answers
548 views

How to find the lowest power in multi-variable expression?

I am sorry for asking a similar question again. I asked How to find the lowest power of variable in expression? and I got a wonderful answer, but I have one more question for a multi-variable ...
Saesun Kim's user avatar
  • 1,820
4 votes
3 answers
1k views

How to find the lowest power of variable in expression?

If I have expression like a1/x +a2/x^2 + a3/x^3 I want to return 1/x^3. In general case, ...
Saesun Kim's user avatar
  • 1,820
9 votes
5 answers
2k views

Create a list of all possible multivariate monomials of a certain order

Given variables x[i] for i=1,2,...,n I would like to create a list of all possible multivariate monomials of order ...
Kagaratsch's user avatar
2 votes
2 answers
932 views

Generating complete lists of polynomials

I would like to generate a list of all $3$-variable Laurent polynomials with non-negative integer coefficients using a looping construct so that I can, one-by-one, check them for specific ...
Ross Elliot's user avatar