login
A083277
k appears 3k-2 times.
0
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, 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, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8
OFFSET
1,2
FORMULA
a(n) = ceiling((1+sqrt(24*n+1))/6) = floor((7+sqrt(24*n-23))/6).
PROG
(PARI) a(n) = (7+sqrt(24*n-23))\6; \\ Michel Marcus, Oct 30 2019
CROSSREFS
Cf. A016777 (3n-2 with offset 1).
Partial sums of A255849.
Sequence in context: A330780 A090973 A076634 * A274011 A307726 A235123
KEYWORD
nonn
AUTHOR
Daniele Parisse, Jun 02 2003, Jul 07 2007
STATUS
approved