One of my first programs was a number puzzle. It would present the player a string of random numbers. To solve the puzzle you have to write a math equation that uses all the numbers in order. For example, for the numbers

97424

One solution is

log(9)/log(7-4)=-2+4

I wrote the program because i used to play the game in my head with the number on clocks and other things.