OFFSET
10,1
COMMENTS
1. a(n) =0 if n begins with 9 and contains odd number of digit. e.g. 919,92129, etc. Are there other valus of n for which a(n) = 0? 2. If n contains begins with 9 as a digit and contains even number of digits then a(n) is a palindrome.
EXAMPLE
a(99) = 909
a(191) = 1098. 1 - 0 = 1, 0 ~ 9 = 9, 9 - 8 = 1.
a(9119)= 90109.
CROSSREFS
KEYWORD
base,more,nonn,uned
AUTHOR
Amarnath Murthy, Nov 09 2005
STATUS
approved