The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

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.