OFFSET
1,2
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, PARI program for A056544
FORMULA
EXAMPLE
The smallest palindrome containing 21 as a subsequence is 121. So a(21) = 121.
MATHEMATICA
Do[k = 1; While[ StringPosition[ ToString[k], ToString[n]] == {} || ToString[k] != StringReverse[ ToString[k]], k++ ]; Print[k], {n, 1, 70} ]
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Joseph L. Pe, Feb 10 2002
EXTENSIONS
Edited and extended by Robert G. Wilson v, Feb 12 2002
STATUS
approved