This diagram shows the numbering used for the tentacles.
Within the tentacles, each segment is also numbered starting at 0 for the segments closest to the Octopus's main body, and incrementing by 1 for each segment further away.
0