Applying painless but targeted electrical stimulation to parts of the brain that play a role in number manipulation may in future be a way to help people who struggle with maths, scientists said.