login
n occurs n! times.
14

%I #12 Jul 29 2017 12:51:18

%S 0,1,2,2,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,

%T 5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,

%U 5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5

%N n occurs n! times.

%C Also minimum i such that A007489(i) >= n.

%C For n>=1, a(n) gives the length of the n-th permutation in the sequences like A030298 & A030496.

%H A. Karttunen, <a href="/A084556/b084556.txt">Table of n, a(n) for n = 0..46234</a>

%H <a href="/index/Per#perm">Index entries for sequences related to permutations</a>

%t Flatten[ Table[#, {#!}] & /@ Range[0, 5]]

%Y First differences of A084555. Used to compute A084557. Differs from A084506 first time at the 130th term, where A084506(130) = 6, while A084556(130) = 5. Cf. also A002024, A072643, A072649, A090529.

%K nonn

%O 0,3

%A _Antti Karttunen_, Jun 02 2003