0,4

a(n) + A061392(n) = n+1.

Table of n, a(n) for n=0..73.

(PARI) has(n)=!!setsearch(Set(digits(n, 3)), 1)

first(n)=my(s); vector(n, k, s+=has(k)) \\ Charles R Greathouse IV, Sep 02 2015

Cf. A007089, A062756, A081607, A081610.

Sequence in context: A071991 A276952 A096336 * A337020 A046700 A216411

Adjacent sequences: A081606 A081607 A081608 * A081610 A081611 A081612

nonn

Reinhard Zumkeller, Mar 23 2003

approved