Mathematica’s Table Comand

Math 202 Cryptography, October 3, 2016
T. Ratliff, Wheaton College
ratliff_thomas@wheatoncollege.edu

Basic Examples

Mathematica’s Help describes the syntax better than I can, so I’ll just give a few examples.

t1 = Table[i, {i,1,10}]

t1 //TableForm

n=13
t2=Table[ Mod[i^2, n], {i,1,n-1}]

t2//TableForm

n=13
t3=Table[ {i,Mod[i^2, n]}, {i,1,n-1}]
t3 //TableForm