a(1) = 1, a(n) = if n mod 10 = 0 then n else smallest number m, not occurring earlier such that m*a(n-d) is a palindrome, where d = if n mod 10 = 1 then 2 else 1.

A083664

a(1) = 1, a(n) = if n mod 10 = 0 then n else smallest number m, not occurring earlier such that m*a(n-d) is a palindrome, where d = if n mod 10 = 1 then 2 else 1.

Terms

    a(0) =1a(1) =2a(2) =3a(3) =11a(4) =4a(5) =22a(6) =28a(7) =9a(8) =19a(9) =10a(10) =17a(11) =16a(12) =29a(13) =8a(14) =34a(15) =88a(16) =7a(17) =23a(18) =18a(19) =20a(20) =14a(21) =31a(22) =154a(23) =13a(24) =38a(25) =231a(26) =12a(27) =21a(28) =25a(29) =30

External references