Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download
Project: Math 201
Views: 70
for n in [0..20]: n,n^3 - n, mod(n^3-n,6)
(0, 0, 0) (1, 0, 0) (2, 6, 0) (3, 24, 0) (4, 60, 0) (5, 120, 0) (6, 210, 0) (7, 336, 0) (8, 504, 0) (9, 720, 0) (10, 990, 0) (11, 1320, 0) (12, 1716, 0) (13, 2184, 0) (14, 2730, 0) (15, 3360, 0) (16, 4080, 0) (17, 4896, 0) (18, 5814, 0) (19, 6840, 0) (20, 7980, 0)