A082757 Possible integer ratios of A/B, where A and B have no 0 in their decimal representation, all decimal digits of A and B are different and each digit is used only once.
2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 14, 15, 16, 17, 18, 19, 22, 23, 24, 26, 27, 28, 29, 32, 35, 37, 38, 43, 44, 46, 52, 53, 59, 62, 66, 68, 134, 143, 148, 152, 155, 163, 164, 168, 173, 176, 178, 182, 185, 188, 194, 197, 198, 203, 206, 212, 215, 224, 225, 227
Offset: 1
Examples
13458 / 6729 = 2 17469 / 5823 = 3 15768 / 3942 = 4 ... 98765432 / 1 = 98765432
Links
- Giovanni Resta, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
f[w_] := Select[Floor[w/10^#]/Mod[w, 10^#] & /@ {1,2,3,4}, IntegerQ]; seq = Union[Flatten[f /@ (FromDigits /@ Permutations[ Range@9])]]; Length[seq] (* Giovanni Resta, Mar 21 2013 *)
Extensions
a(37)-a(60) from Giovanni Resta, Mar 21 2013
Comments