In the United States, it is definitely possible to do mathematical research at some industry labs, and publish/collaborate just as an academic would. (This is much easier if your research straddles math and computer science, but still possible in some other cases.) My employer, IBM Research, has labs in the New York and San Francisco areas which hire mathematicians to do research with a strong computer science slant. Also, Microsoft Research in Redmond, WA, Mountain View, CA, and Cambridge, MA (and the other Cambridge!) hires people with similar background. Google and Yahoo also have labs but I am not sure they do as much theoretical work.
Every group has different foci, so your chances of working in industry really depend on how much your interests and work intersect with some group.
Note the above groups are just those that I am personally familiar with. Also, the above labs hire postdocs as well (in fact I am currently one).