Hi everyone,
Hope all is well. I am not sure whether this observation is already recorded in the OEIS.
Consider repeated multiplication by a fixed digit in base 10, tracking only the last digit of the product. The last digit of the result depends only on the last digit of the original number and the last digit of the multiplier. When this multiplication is repeated, the last digits eventually form ordered cycles (“loops”). Cycles that differ by direction are treated as distinct.
If the repeated multiplier is 1, the last digit of the result remains the same as the original last digit. This produces 10 distinct loops:
{0}, {1}, {2}, {3}, {4}, {5}, {6}, {7}, {8}, {9}.
If the repeated multiplier is 2, there is one nontrivial loop:
{2, 4, 8, 6}.
The digits 0 and 5 form trivial fixed-point loops already counted.
If the repeated multiplier is 3, there are two distinct loops:
{1, 3, 9, 7} and {6, 8, 4, 2}.
If the repeated multiplier is 4, there are two distinct loops:
{2, 8} and {4, 6}.
If the repeated multiplier is 5, only the fixed-point loops {0} and {5} occur, yielding no new loops.
If the repeated multiplier is 6, the digits {0}, {2}, {4}, {6}, and {8} are fixed points, yielding no new nontrivial loops.
If the repeated multiplier is 7, there are two loops:
{7, 9, 3, 1} and {4, 8, 6, 2}, but the second one is already mentioned, so we have only one distinct loop.
If the repeated multiplier is 8, there is one loop:
{6, 8, 4, 2}, which has already appeared in the same order, so no new loop is introduced.
If the repeated multiplier is 9, there are four ordered loops:
{1, 9}, {7, 3}, {8, 2}, and {4, 6}.
Of these, {8, 2} and {4, 6} have already appeared, leaving two new ordered loops:
{1, 9} and {7, 3}.
Altogether, in base 10, there are 18 distinct ordered loops for the last digit under repeated multiplication by a fixed digit.
The sequence of interest is therefore: the number of distinct ordered last-digit loops in base n.
Is this a new sequence?
Best,
Ali