I have a question which concerns a hypothetical scenario; Suppose a person with no academic background was to solve a a great mathematical problem like Fermat's last Therm, the Riemann Hypothesis etc. and they wrote a paper on their proof or solution. Would they be able to get published? [Assuming the solution works] If so how? Also, I have always wondered about these journals where scientists and mathematicians send in their work. How do you know if the work is any good that it won't be stolen? Say when Yitang Zhang published his paper which works towards proving the twin prime conjecture, this is a really big thing and that paper is very important. How does he know someone from the Annals of Mathematics won't read it and just write their own name over it?