Was math invented or discovered?

 

Men are given wisdom by the inspiration of God (Job 32:8,9).

 

Was math invented or discovered?