OFFSET
1,2
COMMENTS
Termed "1951 numbers" by Eric Angelini, cf. LINKS.
LINKS
E. Angelini, 1951-numbers, SeqFan list, Dec 14, 2015.
EXAMPLE
The single-digit numbers 1,...,9 are in the sequence because there is no possible decomposition a,b.
The number 1951 is in the sequence because 195/1 = 195.0, 19/51 = 0.3725490196... and 1/951 = 0.0010515247108307045215562565720294... all have each of the digits '1', '5' and '9' the number 1951 is made of.
MATHEMATICA
fQ[n_] := Block[{d = IntegerDigits@ n, w}, w = Map[Union@ Flatten@ # &, First /@ RealDigits@ Map[FromDigits@ Take[d, #]/FromDigits@ Take[d, -Length@ d + #] &, Reverse@ Range[Length@ d - 1]], {1}]; And @@ Function[k, AllTrue[d, MemberQ[k, #] &]] /@ w]; Select[Select[Range@ 1500, Last@ DigitCount@ # == 0 &], fQ] (* Michael De Vlieger, Dec 14 2015 *)
PROG
(PARI) is(n, d=Set(digits(n)), p=n+#Str(n))={vecmin(d)&&!for(i=10, n, setminus(d, Set(digits(n\i*10^p\(n%i))))&&return; i=i*10-1)}
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Eric Angelini and M. F. Hasler, Dec 14 2015
STATUS
approved