OFFSET
1,3
EXAMPLE
For n = 12, the accepted values < 12 are 3, 4, 5, 6, 7, 8, 9 so a(12) = 7.
PROG
(PARI) ok(a, b)=length(setintersect(Set(digits(a)), Set(digits(b))))==0;
count(n)={c=0; for(k=1, n-1, if(ok(k, n), c++)); c};
A328289(limit)=vector(limit, n, count(n));
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Lars Blomberg, Oct 11 2019
STATUS
approved