|
|
A084906
|
|
Numbers with at least one place in their decimal representation to insert a division operator such that an integer results.
|
|
5
|
|
|
11, 21, 22, 31, 33, 41, 42, 44, 51, 55, 61, 62, 63, 66, 71, 77, 81, 82, 84, 88, 91, 93, 99, 101, 102, 105, 111, 121, 122, 123, 124, 126, 131, 141, 142, 147, 151, 153, 155, 161, 162, 164, 168, 171, 181, 182, 183, 186, 189, 191, 201, 202, 204, 205, 211, 213
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
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.
|
|
LINKS
|
|
|
EXAMPLE
|
364 is a term, as 36/4=9; 365 is not a term, as 3/65 and 36/5 are not integers.
|
|
PROG
|
(Python)
def ok(n):
s = str(n)
pairs = ((int(s[:i]), int(s[i:])) for i in range(1, len(s)))
return any(c%d == 0 for c, d in pairs if d > 0)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|