Question: How do I display a list of values $\{a\_1,a\_2,\ldots,a\_n\}$ in a two column format?

> 
> `---------
>  1 | a_1 
>  2 | a_2 
>  3 | a_3 
>  ...... 
>  n | a_n`
> 
> 
> 

I tried using TableFormat but this doesn't display the row number.

Answer: 
**Update**

`ciao`'s answer makes the most sense.

```
TableForm[a /@ Range[5], TableHeadings -> Automatic]

```

**Original Post**

Try this. If your list of values is

```
a /@ Range[5]
(* {a[1], a[2], a[3], a[4], a[5]} *)

```

then you can do something like

```
TableForm@Transpose[{Range[5], a /@ Range[5]}]

```

or

```
TableForm@MapIndexed[{First@#2, #1} &, a /@ Range[5]]

```

(`MapIndexed` is major overkill. I just like using it recently.)
```
Table[{n, Subscript[a, n]}, {n, 1, 5}] // TableForm

```