%I #3 Mar 30 2012 18:50:49
%S 12,20,10,10,10,10,10,10,10,10,234,20,304,204,203,203,203,203,203,203,
%T 134,304,30,104,103,103,103,103,103,103,124,204,104,40,102,102,102,
%U 102,102,102,123,203,103,102,50,102,102,102,102,102,123,203,103,102,102,60
%N Smallest number greater than n, having in its decimal representation more distinct digits than n, that are also different from n's digits.
%C A043537(a(n)*10^A055642(n)+n) = A043537(n) + A043537(a(n)).
%C The sequence is finite: a(10233) = 45678 is the last term.
%K nonn,base,fini
%O 0,1
%A _Reinhard Zumkeller_, Mar 12 2005
|