%I #10 Apr 17 2013 17:14:23
%S 0,0,1,0,1,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,3,0,1,2,3,0,1,2,
%T 3,0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3,0,
%U 1,2,3,0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3
%N Irregular table: row n (n>=1) consists of numbers 0..A084556(n)-1.
%C The term a(n) tells from which position (zero-based, starting from the left hand end of permutation) of the corresponding permutation in A030298 the term A030298(n) should be picked from.
%H A. Karttunen, <a href="/A220663/b220663.txt">Rows 1..998 of the irregular table, flattened.</a>
%F a(n) = n - A220662(n).
%F a(n) = A220694(n)-1.
%e Rows of this irregular table begin as:
%e 0;
%e 0, 1;
%e 0, 1;
%e 0, 1, 2;
%e 0, 1, 2;
%e ...
%o (Scheme): (define (A220663 n) (- n (A220662 n)))
%Y Cf. A220662, A220694, A030298.
%K nonn,tabf
%O 1,8
%A _Antti Karttunen_, Dec 18 2012