We can express any whole number
as
where
is the
remainder obtained when
is divided by 10. The chaino sequence is
defined by the mapping
. For example
.
Investigate this sequence of numbers using different starting
points.
You will find that 14 is a fixed point and there are periodic cycles
like the cycle of length 6 :
.
Prove that, for all starting points, the numbers in the
sequence quickly reduce to numbers less than 45 and do not later
increase above 45. How many periodic cycles are there and how many fixed
points?
Explain why the numbers in a cycle are either all even or
all odd.
You could investigate the sequence using a calculator or a spreadsheet.
Alternatively the following Logo program will generate the sequence. It uses
the fact that, if
, then
is the integer part of
.
Try loading the program and typing chaino 1357 .
You will need to click on HALT when you want to stop the program.
to chaino :n
make "n 2*(int :n/10) + 3*(:n - 10*int :n/10)
print :n
wait 120
chaino :n
end