# [x^14+x^i+x^j with (i,j) in (13,13) where j<i]

How can I do it?

to get: [x^14, x^14 + 1, x^14 + x + 1, x^14 + x^2 + x, x^14 + x^2 + 1,...

add a comment

[x^14+x^i+x^j with (i,j) in (13,13) where j<i]

How can I do it?

to get: [x^14, x^14 + 1, x^14 + x + 1, x^14 + x^2 + x, x^14 + x^2 + 1,...

add a comment

1

Try this:

```
[x^14 + x^i + x^j for i in range(1,14) for j in range(1,14) if j<i]
```

Asked: **
2013-12-08 15:46:56 -0500
**

Seen: **63 times**

Last updated: **Dec 08 '13**

Difference between sum and for loop

multiple parametric_plot's with for loop

How to define multiple WeylCharacterRings at one time

plotting multiple functions from a for loop

Naming variables in a loop [closed]

Not evaluating the coordinates

numerical solutions from a for-loop solve()

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.