OFFSET
0,3
LINKS
Eric Weisstein's World of Mathematics, Palindromic Number
FORMULA
G.f.: 1/(1 - Sum_{k>=2} x^A002113(k)).
EXAMPLE
a(4) = 8 because we have [4], [3, 1], [2, 2], [2, 1, 1], [1, 3], [1, 2, 1], [1, 1, 2] and [1, 1, 1, 1].
MATHEMATICA
nmax = 37; CoefficientList[Series[1/(1 - Sum[Boole[PalindromeQ[k]] x^k, {k, 1, nmax}]), {x, 0, nmax}], x]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Ilya Gutkovskiy, Feb 19 2017
STATUS
approved