a(1) = 1, a(n) = smallest positive number b not among a(1)..a(n-1) and not a multiple of 10 such that the first digit of b = the last digit of a(n-1).

A125887

a(1) = 1, a(n) = smallest positive number b not among a(1)..a(n-1) and not a multiple of 10 such that the first digit of b = the last digit of a(n-1).

Terms

    a(0) =1a(1) =11a(2) =12a(3) =21a(4) =13a(5) =31a(6) =14a(7) =41a(8) =15a(9) =51a(10) =16a(11) =61a(12) =17a(13) =71a(14) =18a(15) =81a(16) =19a(17) =91a(18) =101a(19) =102a(20) =22a(21) =23a(22) =32a(23) =24a(24) =42a(25) =25a(26) =52a(27) =26a(28) =62a(29) =27

External references