I have M.Sc. in mathematics, and I was/am working on a PhD for almost 10 years now (on and off), but I haven't published a thing. I have many results (most in a single field) and potential paper drafts, but I never finish up and publish, because I always find something new to learn or a new problem to research. I left the university eventually and got a part-time job as a data scientist, but I was never satisfied about leaving things open. I was working completely alone and didn't get along well with my adviser.
Today, while I have the time, I lack the discipline and environment to finish. None of my close friends are mathematicians, so I can't really talk about math with anybody (besides Internet forums). I love math very much, and I'm learning new things all the time, and I want to have my results finally out there and have my resume match my skills.
I will be glad to hear any advice, if anybody was in a similar situation. Any help will be appreciated.