Octopuses possess roughly 500 million neurons distributed across their body, with two-thirds located in their arms rather than their central brain, meaning each arm can taste, problem-solve, and react to stimuli independently of whatever the octopus is otherwise paying attention to.
The octopus carries about 500 million neurons, but only a third sit in its central brain. The rest run its eight arms, each able to taste, decide, and act on its own.