%I #22 Sep 06 2023 21:14:09
%S 1,2,2,2,2,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,
%T 5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
%U 7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8
%N k appears 3k-2 times.
%F a(n) = ceiling((1+sqrt(24*n+1))/6) = floor((7+sqrt(24*n-23))/6).
%o (PARI) a(n) = (7+sqrt(24*n-23))\6; \\ _Michel Marcus_, Oct 30 2019
%Y Cf. A016777 (3n-2 with offset 1).
%Y Partial sums of A255849.
%K nonn
%O 1,2
%A _Daniele Parisse_, Jun 02 2003, Jul 07 2007