|
|
A078199
|
|
Smallest multiple of n (for n >= 100) in which frequency of each occurring digit is the same.
|
|
2
|
|
|
1100, 1010, 102, 103, 104, 105, 106, 107, 108, 109, 1100, 111, 560, 452, 342, 230, 348, 234, 236, 238, 120, 605, 610, 123, 124, 125, 126, 127, 128, 129, 130, 524, 132, 532, 134, 135, 136, 137, 138, 139, 140, 423, 142, 143, 432, 145, 146, 147, 148, 149, 150
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
100,1
|
|
COMMENTS
|
Numbers from 1 to 99 are trivial and have been omitted.
|
|
LINKS
|
|
|
EXAMPLE
|
a(112)=560 because 560 = 5*112 contains each of its digits once, while 112, 2*112=224, 3*112=336 and 4*112=448 do not have equal frequencies of their digits. - Robert Israel, Jun 08 2020
|
|
MAPLE
|
filter:= proc(n) local L;
L:= convert(n, base, 10);
nops({seq(numboccur(d, L), d=L)}) = 1
end proc:
f:= proc(n) local k;
for k from n by n do if filter(k) then return k fi od
end proc:
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|