OFFSET
1,1
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..10000
PROG
(PARI) a(n)={my(S=Set([1, 2, 3, 5, 7])); forstep(m=n, oo, n, my(d=digits(m)); if(#select(t->setsearch(S, t), d)==0, return(m)))} \\ Andrew Howroyd, Sep 17 2024
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Nov 23 2002
EXTENSIONS
Corrected and extended by Andrew Howroyd, Sep 17 2024
STATUS
approved