# [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: **65 times**

Last updated: **Dec 08 '13**

numerical solutions from a for-loop solve()

Add graphs produced by a for loop?

How to define multiple WeylCharacterRings at one time

How to define multiple objects with a for loop?

Difference between sum and for loop

Multiple loops in an animation?

Not evaluating the coordinates

computation limtations in Sage cloud

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.