OFFSET
100,1
COMMENTS
a(211) = 13 is the first term that is not a palindrome (treating 10 as "010", a palindrome with leading zeros).
EXAMPLE
a(112) = 560/112 = 5.
MATHEMATICA
balanced[n_] := Module[{u, d, r}, u=Union[d=Sort[IntegerDigits[n]]]; IntegerQ[r=Length[d]/Length[u]]&&d==Sort[Flatten[Table[u, {r}]]]]; a[n_] := For[k=1, True, k++, If[balanced[k*n], Return[k]]]
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Nov 21 2002
EXTENSIONS
Corrected and extended by Sascha Kurz, Jan 09 2003
Edited by Dean Hickerson, Jan 17 2003
STATUS
approved