There are commands to store a number in a register, to insert the number in the buffer in decimal, and to increment it. These commands can be useful in keyboard macros (see Keyboard Macros).
number-to-register).
increment-register).
C-x r g is the same command used to insert any other sort of register contents into the buffer.