I scrolled down and read the comments first. I confess to a little flash of superior irritation at the thoughtful comment "WTF IM NOT READING ALL THAT". Scrolling back up to the solution, I rethought and decided I'd found a soul-mate.A full solution is here: http://ubersite.com/m/72587
Hint: the difference between two numbers that have the same digits in a different order will always be a multiple of nine.
Ah, having had a bit of a play around, I see you can do it yourself without the special program, and it works for numbers of any length of digits.
All you have to do, after you've made someone go through the mill and circle a number, is to add up the remaining numbers as they read them out to you. You then work out what the nearest multiple of 9 is, and the difference between that and the total you've arrived at is the number they've circled.