A288669 Numbers n such that n * x/(x-1) produces a rotation of the digits in n for some value of x.
45, 162, 243, 324, 405, 486, 567, 648, 729, 891, 2223, 4446, 4455, 4545, 4950, 5445, 6669, 7767, 8892, 8910, 10701, 18819, 19512, 21402, 22212, 26829, 32103, 37638, 39024, 42804, 43434, 44424, 53505, 53658, 56457, 56556, 58536, 64206, 66636, 70731, 74907, 75276, 77778, 78048
Offset: 1
Examples
a(1) = 45, 45 * 6/5 = 54; a(11) = 2223, 2223 * 248/247 = 2232.
Links
- Doug Bell and Giovanni Resta, Table of n, a(n) for n = 1..10000 (first 1000 terms from Doug Bell)
- Doug Bell, Table of n, a(n), x/(x-1), a(n)*x/(x-1) for n = 1..1000
Programs
-
Mathematica
ok[n_] := Block[{d = IntegerDigits[n], m, trg, t}, m = Length[d]; trg = FromDigits /@ Select[ RotateLeft[d, #] & /@ Range[m-1], First[#] > 0 &];{} != Select[ trg, (t = n/#; Numerator[t] + 1 == Denominator[t]) &]]; Select[ Range[10^5], ok] (* Giovanni Resta, Jun 14 2017 *)
Comments