|
|
A345391
|
|
a(n) is the least proper multiple of n with the same set of decimal digits as n.
|
|
2
|
|
|
11, 22, 33, 44, 55, 66, 77, 88, 99, 100, 1111, 1212, 1131, 1414, 1155, 1616, 1717, 1188, 1919, 200, 2121, 2222, 322, 2424, 225, 2262, 2727, 2828, 2929, 300, 1333, 3232, 3333, 3434, 3535, 3636, 3737, 3838, 3393, 400, 4141, 4242, 344, 4444, 4455, 644, 4747
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
Rémy Sigrist, Table of n, a(n) for n = 1..10000
|
|
FORMULA
|
a(n) <= A020338(n) for any n > 0.
|
|
PROG
|
(PARI) a(n) = { my (d=Set(digits(n))); forstep (m=2*n, oo, n, if (Set(digits(m))==d, return (m))) }
(Python)
def a(n):
kn, ss = 2*n, set(str(n))
while set(str(kn)) != ss: kn += n
return kn
print([a(n) for n in range(1, 49)]) # Michael S. Branicky, Jun 17 2021
|
|
CROSSREFS
|
Cf. A020338, A029793, A276769.
Sequence in context: A302801 A067042 A078273 * A065571 A064544 A083967
Adjacent sequences: A345388 A345389 A345390 * A345392 A345393 A345394
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
Rémy Sigrist, Jun 17 2021
|
|
STATUS
|
approved
|
|
|
|