calculator sequence inspired by my calendar
Tanya Khovanova
tanyakh at TanyaKhovanova.com
Wed Dec 20 23:36:56 CET 2006
Hello all,
In my today's page-a-day calendar, I've got the following problem:
Zane is at least a year older than Mabel, and both are at least 10 years old. If you write their ages on a calculator, one age is the same as the other age turned upside down. If the difference between their ages is as small as possible, how old is Zane?
So, I suggest the sequence of numbers that can be represented as a differences between a number on a calculator and the same number upside down. It is obvious that all these numbers are divisible by 3.
I am not sure how to write a program calculating them. Here is a sample:
0 (1-1), 3 (9-6), 6 (65-59), 9 (21-12), 12 (98-86), 21 (89-68),
The relevant sequence: A045573 Still numbers when turned upside down (only uses digits 0125689, with no final 0's).
Tanya
More information about the SeqFan
mailing list