A341204 Number of ways to write n as an ordered sum of 7 nonzero decimal palindromes.
1, 7, 28, 84, 210, 462, 924, 1716, 3003, 4998, 7966, 12222, 18123, 26054, 36408, 49560, 65835, 85470, 108591, 135163, 164976, 197632, 232547, 268968, 306005, 342678, 377979, 410914, 440630, 466417, 487788, 504511, 516621, 524412, 528409, 529320, 528003, 525308, 522144
Offset: 7
Links
- Alois P. Heinz, Table of n, a(n) for n = 7..10000
Crossrefs
Programs
-
Mathematica
nmax = 45; CoefficientList[Series[Sum[Boole[PalindromeQ[k]] x^k, {k, 1, nmax}]^7, {x, 0, nmax}], x] // Drop[#, 7] &