OFFSET
0,4
LINKS
Peter Munn, Table of n, a(n) for n = 0..10000
FORMULA
a(n) = floor(n^(2/3)). [Charles R Greathouse IV, Mar 21 2012]
MATHEMATICA
Table[ Floor[n^(2/3)], {n, 120}] (* Ray Chandler, Jan 09 2005 *)
PROG
(PARI) a(n)=floor(sqrtn(n^2, 3)) \\ Charles R Greathouse IV, Mar 21 2012; corrected by Michel Marcus, Mar 08 2020
(PARI) a(n)=(n^2+.5)^(1/3)\1 \\ More careful rounding. - Charles R Greathouse IV, Mar 21 2012
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, Dec 27 2004
EXTENSIONS
Corrected and extended by Ray Chandler, Jan 09 2005
a(0)=0 inserted by Sean A. Irvine, Jun 22 2020
STATUS
approved