login
A135672
a(n) = floor(n - n^(2/3)).
7
0, 0, 0, 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 8, 8, 9, 10, 11, 11, 12, 13, 14, 14, 15, 16, 17, 18, 18, 19, 20, 21, 21, 22, 23, 24, 25, 25, 26, 27, 28, 29, 29, 30, 31, 32, 33, 33, 34, 35, 36, 37, 38, 38, 39, 40, 41, 42, 43, 43, 44, 45
OFFSET
1,5
LINKS
MATHEMATICA
Table[Floor[n - n^(2/3)], {n, 100}] (* Vincenzo Librandi, Feb 18 2013 *)
PROG
(Magma) [Floor(n-n^(2/3)): n in [1..100]]; // Vincenzo Librandi, Feb 18 2013
(PARI) a(n)=n-sqrtnint(n^2-1, 3)-1 \\ Charles R Greathouse IV, Sep 02 2015
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Nov 25 2007
EXTENSIONS
Offset corrected by Mohammad K. Azarian, Nov 19 2008
STATUS
approved