What is mathematics though? We need a definition of mathematics before we can ask whether or not it is the same everywhere.
For instance, if I say that it is proven truths that hold in the theories that we have examined (such as in Set Theory or in Number Theory or something), then yes, these are true everywhere since the things that we have proved are independent of everything except for themselves (whether or not there is anything that they can be applied to though is a different question)
If you defined mathematics to be the theories that have any kind of regular application, then I'd say no. You might end up in some weird place where you can't find any things to add together, so addition doesn't make any sense. For instance, maybe you're in a universe where every looks the same (maybe some kind of uniform distribution of stuff) all around you, as far out as you can see, and it still looks exactly the same if you look closer or further out. Then there are no things to add; it doesn't make any sense to try to measure things, etc. So the real numbers are not applicable. People in this universe would probably not think to invent them because they have nothing in their world that they'd think to apply them to.