OFFSET
0,3
LINKS
R. J. Mathar, Table of n, a(n) for n = 0..88
EXAMPLE
191 is the smallest palindrome to have digits sum to 11.
a(28) = 5995 and no palindrome less than 5995 has digit sum 28.
PROG
(PARI) ispal(n) = my(d=digits(n)); Vecrev(d)==d;
a(n) = {k = 0; while ((sumdigits(k) != n) || !ispal(k), k++); k; } \\ Michel Marcus, Aug 20 2015
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Amarnath Murthy, Jun 27 2001
EXTENSIONS
More terms from Erich Friedman, Jul 04 2001
More terms from David Wasserman, Jun 27 2002
STATUS
approved