OFFSET
0,1
FORMULA
a(n) = 123456789 after removing any digits that appear in n. If n uses all digits, then a(n) = 0.
EXAMPLE
a(13) = 123456789 without 1 and 3 = 2456789.
a(123456789) = 0 (by definition).
MATHEMATICA
newn[n_]:=FromDigits[Complement[Range[9], IntegerDigits[n]]]; Table[newn[i], {i, 50}] (* Harvey P. Dale, Nov 21 2010 *)
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Dominick Cancilla, Sep 02 2010
EXTENSIONS
More terms from Harvey P. Dale, Nov 21 2010
STATUS
approved