21 is not in the sequence because 11 (the closest palindromic integer < 21) is not reachable by subtracting an integer < 10 from 21. The integers 32, 43 or 2018 are not in the sequence for the same reason.

CROSSREFS

Cf. A318536 for an equivalent sequence [addition of (k < 10) instead of subtraction].