OFFSET
0,3
COMMENTS
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..10000
EXAMPLE
a(100) = 98; a(1000) = 989; a(10000) = 9898; a(100000) = 98989;
a(101) = 101; a(1001) = 989.
PROG
(Haskell)
a228722 n = head [x | x <- [n, n-1 ..], a228710 x == 1]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Aug 31 2013
STATUS
approved