OFFSET
1,3
COMMENTS
Are there any palindromes > 58985?
FORMULA
For n < 10, a(n) = ceiling((9*n-11)*(10^n+1)/729). - M. F. Hasler, Nov 07 2020
MAPLE
a:= n-> (parse(cat((n+1-i)$i=1..n))-parse(cat($1..n)))/9:
seq(a(n), n=1..20); # Alois P. Heinz, Nov 09 2020
MATHEMATICA
Array[(FromDigits@ Apply[Join, Reverse@ #] - FromDigits@ Apply[Join, #])/9 &@ Map[IntegerDigits, Range[#]] &, 19] (* Michael De Vlieger, Nov 12 2020 *)
PROG
CROSSREFS
KEYWORD
base,easy,sign
AUTHOR
Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), May 01 2003
EXTENSIONS
More terms from David Wasserman, Nov 09 2004
STATUS
approved