You could try to reset this at the DB level.
You can do it via a 3rd party DB browser or via a command prompt query like:
UPDATE ost_config SET value='######' WHERE key='ticket_number_format';
notes: ost_ would be your table prefix you selected at time of installation.