OFFSET
1,3
LINKS
Eric Weisstein's World of Mathematics, Palindromic Number
Eric Weisstein's World of Mathematics, Partition
PROG
(Python)
from sympy import npartitions
def A091582(n):
if n == 1: return 1
y = 10*(x:=10**(len(str(n>>1))-1))
return npartitions((c:=n-x)*x+int(str(c)[-2::-1]or 0) if n<x+y else (c:=n-y)*y+int(str(c)[-1::-1]or 0)) # Chai Wah Wu, Jun 14 2024
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Jan 22 2004
EXTENSIONS
a(1)=1 prepended and more terms from Georg Fischer, Dec 15 2020
STATUS
approved