The linguistic conundrum here arises due to the recently adopted mindless use of the word 'invented' instead of 'created' or 'designed.' (Indeed, Linus created Linux rather than 'invented' it as many would say today.) Invention is a form of discovery. So, the question should be, "is mathematics created or discovered?"