OFFSET
1,3
COMMENTS
Equivalently, numbers that are composed only of the digits 0, 1, 3, 6, 8 and 9. - Andrew Howroyd, Jan 03 2020
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..1000
PROG
(PARI) a(n)={my(v=[0, 1, 3, 6, 8, 9]); fromdigits([v[1+d] | d<-digits(n-1, #v)])} \\ Andrew Howroyd, Jan 03 2020
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Adam Risi (ajrisi(AT)gmail.com), Apr 09 2008
EXTENSIONS
Terms a(39) and beyond from Andrew Howroyd, Jan 03 2020
STATUS
approved