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