# [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 -0600
**

Seen: **58 times**

Last updated: **Dec 08 '13**

Add graphs produced by a for loop?

plotting multiple functions from a for loop

numerical solutions from a for-loop solve()

How to define multiple WeylCharacterRings at one time

Not evaluating the coordinates

Naming variables in a loop [closed]

How to compute an iterated product in Sage

Plotting successive 3D plots in a for loop (only the last one can be plotted!)

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.