OFFSET
0,3
COMMENTS
a(n) + A081607(n) = n+1.
LINKS
Winston de Greef, Table of n, a(n) for n = 0..16383
MATHEMATICA
Accumulate[Table[If[DigitCount[n, 3, 0]==0, 1, 0], {n, 0, 80}]] (* Harvey P. Dale, Oct 21 2024 *)
PROG
(PARI) first(n)=my(s, t); vector(n, k, t=Set(digits(k, 3)); s+=!!t[1]) \\ Charles R Greathouse IV, Sep 02 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Mar 23 2003
STATUS
approved