%I #8 Jul 29 2017 13:01:20
%S 0,1,2,2,3,3,3,4,4,4,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,
%T 10,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,
%U 16,16,17,17,17,17,18,18,18,18,19,19,19,19,19,20,20,20,20,20,21,21,21,21
%N a(0)=0, after which each n occurs A084516(n) times.
%C Also minimum i such that A084515(i) >= n. Tells that the n-th throw (n>=1) in A084511 belongs to the a(n)-th lexicographical solution A084512(a(n)).
%H A. Karttunen, <a href="/A084507/a084507.scm.txt">Scheme-program for computing this sequence</a>
%Y Differs from A084520 first time at the 65th term, where A084510(65) = 19, while A084520(65) = 18.
%Y Cf. A084500.
%K nonn
%O 0,3
%A _Antti Karttunen_, Jun 02 2003