A345391 a(n) is the least proper multiple of n with the same set of decimal digits as n.
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
Offset: 1
Links
- Rémy Sigrist, Table of n, a(n) for n = 1..10000
Programs
-
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
Formula
a(n) <= A020338(n) for any n > 0.