My thought was to start the CA at the top and the bottom of the screen with the two different functions applied to the cash which should be equal if the cash validates (taking the number to the proper exponent on one hand, and applying the MD5 hash of the serial number on the other, for the case of magic money). Then we work inwards with the two seeds. Proper cash will produce a symmetrical pattern.
Why would it produce a symmetrical pattern?