A139281 If all digits are the same mod 3, stop; otherwise write down the number formed by the 1 mod 3 digits and the number formed by the 2 mod 3 digits and the number formed by the 3 mod 3 digits and multiply them; repeat.
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 11, 2, 3, 14, 5, 6, 17, 8, 9, 0, 2, 22, 6, 8, 25, 2, 14, 28, 8, 30, 3, 6, 33, 2, 5, 36, 2, 8, 39, 0, 41, 8, 2, 44, 0, 8, 47, 6, 36, 0, 5, 52, 5, 0, 55, 30, 5, 58, 0, 60, 6, 2, 63, 8, 30, 66, 8, 6, 69, 0, 71, 14, 2, 74, 5, 8, 77, 30, 63, 0, 8, 82, 8, 6, 85, 6, 30
Offset: 0
Examples
a(57) = 5 because 5 and 7 are different mod 3, so 5*7 = 35; 3 and 5 are different mod 3, so 3*5 = 15; 1 and 5 are different mod 3, so 1*5 = 5, which is a fixed point.
Extensions
a(52) corrected and sequence extended by Sean A. Irvine, Sep 03 2009
Comments