In Russia you get into a bus, take a ticket, and sometimes say : Wow, a lucky number! Bus tickets are numbered by 6-digit numbers, and a lucky ticket has the sum of 3 first digits being equal to the sum of 3 last digits. When we were in high school (guys from math school No. 7 might remember that ) we had to write a code that prints out all the lucky tickets' numbers; at least I did, to show my loyalty to the progammers' clan. Now, if you add up all the lucky tickets' numbers you will find out that 13 (the most unlucky number) is a divisor of the result. Can you prove it (without writing a code)?
Subscribe to:
Post Comments (Atom)
Echo , the dolphin
Echo, a dolphin is trying to jump through a circular hole in his enclosure to escape from the aquarium. From echo's perspective just u...
-
For her birthday, I bought my daughter a set of five nested wooden dolls, similar to those originating in China. The set appears as one do...
-
1. Poor people have it. Rich people need it. If you eat it , you die. What is it? 2. If you don't keep me, I will break. 3. Take o...
-
How many places are there on earth where one could walk one mile south, then one mile west, then one mile north and end up in the same spo...
No comments:
Post a Comment