Friedrich Engels said this quote
“ ...in pure mathematics the mind deal only with its own creations and imaginations. The concepts of number and form have not been derived from any source other than the world of reality. The ten fingers on which men learned to count, that is, to carry out the first arithmetical operation, may be anything else, but they are certainly not only objects that can be counted, but also the ability to exclude all properties of the objects considered other than their number-and this ability is the product of a long historical evolution based on experience. Like the idea of number, so the idea of form is derived exclusively from the external world, and does not arise in the mind as a product of pure thought. ”