login
A178477
Permutations of 1234567: Numbers having each of the decimal digits 1,...,7 exactly once, and no other digit.
4
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,1
COMMENTS
It would be nice to have a simple explicit formula for the n-th term.
Contains A000142(7) = 5040 terms. - R. J. Mathar, Apr 08 2011
An efficient procedure for generating the n-th term of this sequence can be found at A178475. - Nathaniel Johnston, May 19 2011
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 1..5040 (full sequence)
MATHEMATICA
FromDigits/@Take[Permutations[Range[7]], 50] (* Harvey P. Dale, Nov 11 2012 *)
PROG
(PARI) is_A178477(x)= { vecsort(Vec(Str(x)))==Vec("1234567") }
CROSSREFS
KEYWORD
nonn,fini,full,easy,base
AUTHOR
M. F. Hasler, Oct 09 2010
STATUS
approved