Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / Lists and Matrices / List Construction /

Further Examples: Table

Here are the squares of the first 10 integers.

In[1]:=

Out[1]=

This gives the cubes of the integers from -3 to 3.

In[2]:=

Out[2]=

Here is Pascal's triangle using nested lists with the inner iterator j dependent upon the outer iterator i. The output is then formatted with TableForm.

In[3]:=

Out[3]//TableForm=



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.