reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
editing
proposed
nonn,easy
approved
editing
_Michael Somos, _, Jun 19 2003
Cf. n=a(A005449(n)).
nonn,new
nonn
Greatest non-negative nonnegative integer k such that k(3k+1)/2 <= n.
nonn,new
nonn
Greatest non-negative integer k such that k(3k+1)/2 <= n.
0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 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, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8
0,8
a(n)=floor((sqrt(24n+1)-1)/6).
(PARI) a(n)=if(n<0, 0, (sqrtint(24*n+1)-1)\6)
Cf. n=a(A005449(n)).
nonn
Michael Somos, Jun 19 2003
approved