The last article
Whole Number Dynamics IV
was about the rule which takes
N to
N ',
where
N was written in the form
N =10
M +
R and the remainder
R lies
between 0 and 9 inclusive, and
N '= 10
R -
M .
We suggested there that if we start with any whole number and then apply
the rule
repeatedly, we will eventually
reach
, or end in a cycle of four numbers. If you check many cases
you will find this is so, but of course, this does not
prove that it is so. We also saw that for any whole number
there are exactly ten numbers which go to
in one step, and these are the numbers:
|
|
As a result of this, we then showed that if
eventually reaches
(after applying the rule sufficiently many
times) then
must be a multiple of
.
Now it is important to understand that the statement
- if
is a multiple of
, then
eventually reaches
,
is not the same as the statement:
-
if
eventually reaches
, then
is a multiple of
.
A good way to see that these are different statements is to
consider the following two (very similar) statements:
- if a whole number is a squared number, then it is positive
or zero,
and
- if a whole number is positive or zero, then it is a squared number.
Obviously, (3) is true and (4) is false so that these two forms
of a statement must be different. Returning to consider the statements (1) and (2),
we recall that we have proved (2) in the last article; we shall now prove (1).
Note that when combined together, (1) and (2) describe exactly
those numbers which will eventually arrive at 0.
To show that (1) is true, let us consider any whole number
that is a multiple of
; we want to show that this
eventually reaches
. We can write
, say, where
is a whole number, and we can always write
in the form
,
where
is the remainder of
when we divide
by
. This means that:
|
|
so that
is also the remainder of
. Applying the rule to
, we see that
goes to
, where
This shows, for example, that multiples of
always go to multiples of
(and we also know from last time that they can only come from multiples of
), so
clearly the number
plays an important role here!
Let us look at what we have just proved a little more closely. In fact, we have just seen that if
then
| 101 x 38792 |
 |
101 x (-3879) |
|
 |
101 x 387 |
|
 |
101 x (-38) |
|
 |
101 x 3 = 303 |
|
 |
0 |
A similar argument works with 38792 replaced by any integer
and this shows that if a whole number N is a multiple of
101, then it eventually reaches 0.
Let us look again at the problem posed at the end of the last
article. We asked there whether or not the number 123456 ends up
at 0 or in a cycle of four numbers? Using a calculator, we see
that 123456 is not a multiple of 101 so that (by what we have
just shown) it cannot end up at 0.
What about the number 12345678987654321? This number is too
big to put on a calculator so we need to find another approach
for it would clearly be a very long task indeed to keep on
applying the rule to this number! How do we handle this
number?
We want to decide whether or not the number 12345678987654321
is a multiple of 101. Of course if a whole number X is a
multiple of 101 then the number 12345678987654321 - X is
also a multiple of 101 and conversely, and using this we see that
it is enough to subtract multiples of 101 from
12345678987654321 and then check whether or not the answer is a
multiple of 101. Better still, if P is any whole number
then:
|
|
so that
is a multiple of
plus
. Thus,
|
|
for some whole number
. Applying this again, we
get
|
|
for some whole number
, and again,
|
|
for some whole number
.
Putting all these together, we find that the two numbers
and
differ by a
multiple of
. It is enough, therefore, to check whether
is, or is not, a multiple of
, and we
have now reduced the problem to one that we can do on a
calculator.
You can now answer the question : does
eventually reach
or not ?
A final question : does
eventually reach
or
not?
Whole Number Dynamics
I
Whole Number Dynamics
II
Whole Number Dynamics
III
Whole Number Dynamics
IV .