Full Idea
The whole of the theory of numbers belongs to logic; or rather, it would do so, were it not, as pure mathematics, pre-logical, that is, even more abstract than logic.
Gist of Idea
Mathematics is close to logic, but is even more abstract
Source
Charles Sanders Peirce (The Nature of Mathematics [1898], IV)
Book Reference
Peirce,Charles Sanders: 'Philosophical Writings of Peirce', ed/tr. Buchler,Justus [Dover 1940], p.148
A Reaction
Peirce seems to flirt with logicism, but rejects in favour of some subtler relationship. I just don't believe that numbers are purely logical entities.