OFFSET
1,2
COMMENTS
LINKS
Danny Rorabaugh, Table of n, a(n) for n = 1..10000
PROG
(PARI) is(n)=vecmax(if((d=Set(digits(n)))[1], d, d=setminus(vector(9, i, i), d)))-vecmin(d)==#d-1
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
M. F. Hasler, Dec 24 2014
STATUS
approved