A178477 Permutations of 1234567: Numbers having each of the decimal digits 1,...,7 exactly once, and no other digit.
1234567, 1234576, 1234657, 1234675, 1234756, 1234765, 1235467, 1235476, 1235647, 1235674, 1235746, 1235764, 1236457, 1236475, 1236547, 1236574, 1236745, 1236754, 1237456, 1237465, 1237546, 1237564, 1237645, 1237654
Offset: 1
Links
- Nathaniel Johnston, Table of n, a(n) for n = 1..5040 (full sequence)
Programs
-
Mathematica
FromDigits/@Take[Permutations[Range[7]],50] (* Harvey P. Dale, Nov 11 2012 *)
-
PARI
is_A178477(x)= { vecsort(Vec(Str(x)))==Vec("1234567") }
Comments