editing
approved
(PARI) a(n)=my(m); while(m++!<=n, ); n-(m-1)! \\ Charles R Greathouse IV, Sep 02 2015
proposed
Sequence consists of numbers 0..A001563(n)-1 followed by numbers 0..A001563(n+1)-1, and so on.. - _Antti Karttunen_, Dec 17 2012
Antti Karttunen: Added the attribution to my comment, which I forgot last night.
Antti A. Karttunen, <a href="/A212598/b212598.txt">Table of n, a(n) for n = 1..5040</a>
The m in definition is given by A084558(n).
Sequence consists of numbers 0..A001563(n)-1 followed by numbers 0..A001563(n+1)-1, and so on.
Antti Karttunen, <a href="/A212598/b212598.txt">Table of n, a(n) for n = 1..5040</a>
a(n) = n-A000142(A084558(n)). - Antti Karttunen, Dec 17 2012
(Scheme): (define (A212598 n) (- n (A000142 (A084558 n))))
Cf. A136437, A212266, A220656.
Cf. A136437, A212266.