The short answer is to place a text box on the master page that will hold the number and link it from the master link icon. When the text box is filled (either by actually filling the box or placing a "next box" character after the number), a new page will be added, with a text box ready to receive the next number. The numbers can either be typed or copied from Excel, which is easier. When pasted or imported into the box, all of the new pages will be created at once.
The real question is why do it in Quark? Are the tickets already printed, or will you be printing the tickets with the numbers at one time? You would have to do that on a printer, which isn't the most effecient way to do tickets. First, you will probably need card stock. Can your printer handle thick stock without jamming? Will it run through the rollers without over-taxing them or curling the paper too much? If multiple tickets are printed on one page, you would thread several
text boxes together, and if you plan to print the ticket and the number
in one pass, you would place the ticket on the master page with the box that will hold the number.
You may be better off having a print shop make the tickets from a single template, and use a numbering machine to do the numbering. I would get some quotes just to see if you won't be spending lots of time, effort and frustration just to save a little money.