OFFSET
1,1
LINKS
FORMULA
a(n) = n*A337241(n).
a(n) = n for any n >= 10^10. - Rémy Sigrist, Sep 15 2020
EXAMPLE
a(13) = 117 because 117 is the smallest multiple of 13 with equal digits.
a(16) = 112 because 112 is the smallest multiple of 16 with equal digits.
a(25) = 100 because 100 is the smallest multiple of 25 with equal digits.
MATHEMATICA
Array[Block[{k = 1}, While[NoneTrue[DigitCount[k #], # > 1 &], k++]; k #] &, 55] (* Michael De Vlieger, Aug 21 2020 *)
PROG
(PARI) a(n) = {my(k=1, d=digits(n)); while(#Set(d) == #d, k++; d=digits(k*n)); k*n; } \\ Michel Marcus, Aug 22 2020
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rodolfo Kurchan, Aug 20 2020
STATUS
approved