cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A005657 a(n) = floor( tan(n)^2 ).

This page as a plain text file.
%I A005657 #26 Feb 28 2024 08:08:10
%S A005657 0,2,4,0,1,11,0,0,46,0,0,51053,0,0,52,0,0,12,1,0,5,2,0,2,4,0,1,10,0,0,
%T A005657 41,0,0,5672,0,0,60,0,0,13,1,0,5,2,0,2,4,0,1,10,0,0,36,0,0,2041,0,0,
%U A005657 69,0,0,14,1,0,5,2,0,2,4,0,1,9,0,0,32,0,0,1041,0,0,81,0,0,15,1,0,5,2,0,2,3,0,1,8,0,0,29,0,0,629
%N A005657 a(n) = floor( tan(n)^2 ).
%H A005657 Robert Israel, <a href="/A005657/b005657.txt">Table of n, a(n) for n = 0..10000</a>
%H A005657 R. K. Guy & N. J. A. Sloane, <a href="/A005648/a005648.pdf">Correspondence, 1985</a>
%F A005657 a(n) = A005699(n)-1 for n >= 1.
%p A005657 seq(floor(tan(n)^2),n=0..1000); # _Robert Israel_, Jun 14 2015
%t A005657 Floor[Tan[Range[0,70]]^2] (* _Harvey P. Dale_, Nov 06 2011 *)
%o A005657 (PARI) vector(100, n, n--; floor(tan(n)^2)) \\ _Michel Marcus_, Jun 15 2015
%o A005657 (Magma) [Floor(Tan(n)^2): n in [0..100]]; // _Vincenzo Librandi_, Jun 15 2015
%Y A005657 Cf. A000503, A005699.
%K A005657 nonn,easy
%O A005657 0,2
%A A005657 _N. J. A. Sloane_