login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A341165 Number of partitions of n into 7 distinct nonzero decimal palindromes. 5
1, 1, 2, 2, 4, 4, 6, 7, 8, 8, 10, 9, 10, 9, 9, 8, 8, 7, 7, 7, 8, 9, 10, 11, 13, 14, 16, 17, 18, 18, 19, 19, 20, 19, 19, 19, 19, 19, 19, 19, 19, 19, 20, 21, 21, 22, 24, 25, 28, 29, 32, 33, 36, 37, 40, 39, 41, 41, 42, 42, 42, 42, 42, 42, 43, 44, 43, 45, 47, 48 (list; graph; refs; listen; history; text; internal format)
OFFSET
28,3
LINKS
MAPLE
p:= proc(n) option remember; local i, s; s:= ""||n;
for i to iquo(length(s), 2) do if
s[i]<>s[-i] then return false fi od; true
end:
h:= proc(n) option remember; `if`(n<1, 0,
`if`(p(n), n, h(n-1)))
end:
b:= proc(n, i, t) option remember; `if`(n=0, 1, `if`(t*i<n,
0, b(n, h(i-1), t)+b(n-i, h(min(n-i, i-1)), t-1)))
end:
a:= n-> (k-> b(n, h(n), k)-b(n, h(n), k-1))(7):
seq(a(n), n=28..97); # Alois P. Heinz, Feb 06 2021
CROSSREFS
Sequence in context: A320008 A127370 A352792 * A215259 A331167 A348588
KEYWORD
nonn,base
AUTHOR
Ilya Gutkovskiy, Feb 06 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 30 06:39 EDT 2024. Contains 373861 sequences. (Running on oeis4.)