You may use or modify this software for any non-commercial use so long as you include this copyright notice.

Also check out the Sedenion calculator.

The calculator may be operated in the context of five different algebras, ** the traditional eight-square
octonion algebra** based on Degan's eight square identity^{*}, or one of four isomorphic algebras based on Cayley-Dickson doubling formulas.

This is a 'Reverse Polish octonion calculator' with a level three pushdown stack. The top of the stack is the rightmost column. The traditional 'PUSH' operation is here rendered as 'ENTER'

Octonions may be entered by hand in the top register or you may generate random entries and store them for reuse.

To perform an operation such as x + y you would do x enter y plus and the result would appear in the top register.

An example of a more complex calculation is given below the calculator.

There are sixteen memory registers X,Y,Z plus A through M accessible from a dropdown list.

Special note: There are different ways of numbering the unit basis vectors.

In terms of ordered pairs for the four doubling products, these basis vectors are defined recursively by

- e
_{0}=1 - e
_{2k}=(e_{k},0) - e
_{2k+1}=(0,e_{k})

To illustrate one of the Moufang identities using randomly generated entries, for example Z(X(ZY)) = ((ZX)Z)Y, perform the following operations:

- Select random vectors X, Y and Z
- INPUT X STO
- INPUT Y STO
- INPUT Z STO
- Perform the operations on the left side of the identity
- Z RCL ENTER (Since Z should already be in the register, you don't actually have to recall it.)
- Y RCL × ENTER
- X RCL SWAP × ENTER
- Z RCL SWAP ×
- Store the result
- A STO
- Perform the operations on the right side of the identity
- Z RCL ENTER
- X RCL × ENTER
- Z RCL × ENTER
- Y RCL × ENTER
- Subtract the result obtained on the left side of the identity. Result should be 0 (allowing for tiny round off errors
of order 10
^{-14}). - A RCL –

^{*}The permutation (2 3)(4 7 5 6) applied to the subscripts of the Degan product basis vectors gives the subscripts of the corresponding P_{3} basis vectors.

Notice that the formula for product P_{2} appears to be just the product P_{0} applied to (c,d)(a,b).

Likewise, for P_{3} and P_{1}. So one might be excused for expecting P_{0}:XY=P_{2}:YX and P_{1}:XY=P_{3}:YX.

However, this is not the case.

In fact, P_{0}:XY=P_{1}:YX and P_{2}:XY=P_{3}:YX for octonions (but not for sedenions).

Fano Plane diagram corresponding to this calculator

Contact:John Wayland Bales, Department of Mathematics (Retired), Tuskegee University, Tuskegee, AL 36088 USA