Write the Cayley tables for addition and multiplication in Z7.?

1 Answer
Feb 6, 2018

See explanantion

Explanation:

Apparently Z7#->#'Zork Implementation Language' which is itself based on Lisp

In programming, a 'Cayley table' is basically a 2 dimensional array.

So you will need to investigate three main categories of things

1: How to declare two variables. One for row and one for column.

2: How to declare an appropriately sized 2D array whilst assigning a name to it. ( you may need to change the size in execution so a resize option needs to be looked at as well

3: Set up a loop to import the data into the array. This loop would reference source data and apply any appropriate calculations prior to storing in the array ( in the correct place).