Arrays and the octahedron recurrence