%I #8 Nov 21 2021 13:01:58
%S 11,21,22,31,33,41,42,44,51,55,61,62,63,66,71,77,81,82,84,88,91,93,99,
%T 101,102,105,111,121,122,123,124,126,131,141,142,147,151,153,155,161,
%U 162,164,168,171,181,182,183,186,189,191,201,202,204,205,211,213
%N Numbers with at least one place in their decimal representation to insert a division operator such that an integer results.
%C A084904(a(n)) > 0; for all m = a(n) exists at least one k such that (m mod 10^k) > 0 and ((m/10^k) mod (m mod 10^k)) = 0.
%H Michael S. Branicky, <a href="/A084906/b084906.txt">Table of n, a(n) for n = 1..10000</a>
%e 364 is a term, as 36/4=9; 365 is not a term, as 3/65 and 36/5 are not integers.
%o (Python)
%o def ok(n):
%o s = str(n)
%o pairs = ((int(s[:i]), int(s[i:])) for i in range(1, len(s)))
%o return any(c%d == 0 for c, d in pairs if d > 0)
%o print([k for k in range(214) if ok(k)]) # _Michael S. Branicky_, Nov 21 2021
%Y Cf. A084905.
%K nonn,base
%O 1,1
%A _Reinhard Zumkeller_, Jun 10 2003
|