login
Number of ways to write n as an ordered sum of 8 nonzero decimal palindromes.
6

%I #7 Feb 07 2021 12:49:14

%S 1,8,36,120,330,792,1716,3432,6435,11432,19392,31592,49652,75552,

%T 111624,160512,225093,308352,413232,542424,698146,881912,1094312,

%U 1334824,1601679,1891800,2200836,2523256,2852636,3181936,3503900,3811488,4098313,4359048,4589768,4788192,4953860

%N Number of ways to write n as an ordered sum of 8 nonzero decimal palindromes.

%H Alois P. Heinz, <a href="/A341205/b341205.txt">Table of n, a(n) for n = 8..10000</a>

%t nmax = 44; CoefficientList[Series[Sum[Boole[PalindromeQ[k]] x^k, {k, 1, nmax}]^8, {x, 0, nmax}], x] // Drop[#, 8] &

%Y Cf. A002113, A136522, A319473, A341166, A341184, A341191, A341192, A341193, A341203, A341204, A341206, A341207.

%K nonn,base

%O 8,2

%A _Ilya Gutkovskiy_, Feb 06 2021