OFFSET
1,1
COMMENTS
Original definition: Numbers such that any (base-10) digit d[i] is the difference of two distinct digits d[j] and d[k] (where "distinct" means j <> k).
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
otQ[n_]:=Module[{c=DigitCount[n]}, Last[c]>0&&Max[c]>1]; Select[Range[ 1200], otQ] (* Harvey P. Dale, Jul 26 2017 *)
PROG
(PARI) is(n)=for(i=2, #n=vecsort(digits(n)), n[i]==n[i-1]&&return(!n[1]))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Eric Angelini and M. F. Hasler, Dec 07 2013
STATUS
approved