Sequence number with 0-9 and A-Z

I hope someone can help me. I need to create a unique identifier that consists of 5 characters, and the characters are numbers 0-9 and letters A-M. I also need the identifier to be created in order (i.e. a sequence number). I am not really seeing how to do this under the sequence number definition structure function. Anyone know how to accomplish this?

Here are a few examples of the identifiers I need to create:

99999

0000A

0000B

or

10001

10002

10003