OFFSET
0,2
LINKS
Robert Israel, Table of n, a(n) for n = 0..10000
R. K. Guy & N. J. A. Sloane, Correspondence, 1985
FORMULA
a(n) = A005699(n)-1 for n >= 1.
MAPLE
seq(floor(tan(n)^2), n=0..1000); # Robert Israel, Jun 14 2015
MATHEMATICA
Floor[Tan[Range[0, 70]]^2] (* Harvey P. Dale, Nov 06 2011 *)
PROG
(PARI) vector(100, n, n--; floor(tan(n)^2)) \\ Michel Marcus, Jun 15 2015
(Magma) [Floor(Tan(n)^2): n in [0..100]]; // Vincenzo Librandi, Jun 15 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved