User blog:VoidSansXD/Linear array notation part 2: Up to 6 entry arrays

Holy crap, while I was writing this, I realized HOW MANY RULES I HAD TO WRITE, so I shortened it down to:

Part 2:  Quite a bit beyond 4 entry arrays.

RULES:

(a, 1, 3) = (a, a, 2)

(a, 2, 3) = (a, (a, (a, (a, (a.....a, (a, (a, a, 2), 2), 2), 2......, 2), 2), 2), 2) with a nests

(a, 3, 3) = (a, (a, (a, (a, (a.....a, (a, (a, a, 2), 2), 2), 2......, 2), 2), 2), 2) with ((a, (a, (a, (a, (a.....a, (a, (a, a, 2), 2), 2), 2......, 2), 2), 2), 2) with (a, (a, (a, (a, (a.....a, (a, (a, a, 2), 2), 2), 2......, 2), 2), 2), 2) with ........(a, (a, (a, (a, (a.....a, (a, (a, a, 2), 2), 2), 2......, 2), 2), 2), 2) with (a, (a, (a, (a, (a.....a, (a, (a, a, 2), 2), 2), 2......, 2), 2), 2), 2) with a nests) nests) nests) nests.....nests) nests) nests, and it says "nests" a times.

(a, 1, 4) = (a, a, 3)

(a, 2, 4) = (a, (a, (a, (a, (a.....a, (a, (a, a, 3), 3), 3), 3), 3), 3), 3), 3)........, 3), 3), 3), 3) with a nests.

(a, 1, 5) = (a, a, 4)

Pattern repeats

(a, 1, 1, 2) = (a, a, a)

(a, 2, 1, 2) = (a, a, (a, a, (a, a, (a, a, (a, a.....a, a, (a, a, a))))....))) with a nests.

(a, 3, 1, 2) = (a, a, (a, a, (a, a, (a, a, (a, a.....a, a, (a, a, a))))....))) with (a, a, (a, a, (a, a, (a, a, (a, a.....a, a, (a, a, a))))....))) with (a, a, (a, a, (a, a, (a, a, (a, a.....a, a, (a, a, a))))....))) with...... (a, a, (a, a, (a, a, (a, a, (a, a.....a, a, (a, a, a))))....))) with (a, a, (a, a, (a, a, (a, a, (a, a.....a, a, (a, a, a))))....))) with a nests) nests) nests.......nests) nests) nests) nests, with a times of saying "nests".

(a, 1, 2, 2) = (a, a, 1, 2)

(a, 2, 2, 2) = (a, (a, (a, (a, (a.....a, (a, (a, (a, (a, a, a), 1, 2), 1, 2), 1, 2......1, 2), 1, 2) with a nests.

(a, 1, 3, 2) = (a, a, 2, 2)

(a, 2, 3, 2) = (a, (a, (a, (a, (a.....a, (a, (a, (a, (a, a, a), 2, 2), 2, 2), 2, 2......2, 2), 2, 2) with a nests.

Lol that was alot of rules xd