The government is investing $20 million into improving maths teaching in primary schools, as studies show New Zealand kids are among the world's least numerate.