Auguste Comte is often described (e.g., on Wikipedia) as a “mathematician” besides being a philosopher of science. I am aware that he taught mathematics (he was at various times a répétiteur and/or an examinateur at the École polytechnique), and he was acquainted or even friends with prominent French mathematicians of the time such as Henri Navier (of “Navier-Stokes” fame) and Joseph Fourier. Also, of course, he placed mathematical sciences at one end of his hierarchy of sciences. But I am not aware of any original mathematical result by Comte himself, or whether he did any mathematical research. Nor could I find any publication of his, but I imagine “publication” worked very differently in the early 1800's than now, and I didn't really know how to search, so this doesn't mean anything.
So anyway, question: did Auguste Comte do any original work in mathematics himself? If so, what did it involve?