The applet below presents you with a sequence of numbers. It's your task to surmise
the pattern and guess what would be the next term. Sometimes a pattern may not be unique.
This may be very frustrating for which I am sorry. However, this exercise besides being
useful and sometimes also enjoyable occupation, affords an opportunity to discuss topics
that I consider interesting.
The applet randomly selects one of the following algorithms. In turn, each
of the algorithms has its own random parameters which are mostly coefficients in various formulas.
Alternate addition of two different quantities.
a0, a1 = a0 + da, a2 = a1 + db, .
Write a simple number, say, 21. Now scan the number by groups of equal digits at a time. Here
we have one "2" and one "1". Thus the next number will be 1211. In this number we have one "1",
one "2" and two "1"s. Thus the third number - 111221. The next will be 312211.