login
a(n) = ceiling(tan(n)).
6

%I #18 Sep 08 2022 08:45:59

%S 0,2,-2,0,2,-3,0,1,-6,0,1,-225,0,1,8,0,1,4,-1,1,3,-1,1,2,-2,0,2,-3,0,

%T 1,-6,0,1,-75,0,1,8,0,1,4,-1,1,3,-1,1,2,-2,0,2,-3,0,1,-6,0,1,-45,0,1,

%U 9,0,1,4,-1,1,3,-1,1,2,-2,0,2,-3,0,1,-5,0,1,-32

%N a(n) = ceiling(tan(n)).

%H Vincenzo Librandi, <a href="/A195910/b195910.txt">Table of n, a(n) for n = 0..1000</a>

%t Table[Ceiling[Tan[n]], {n, 0, 100}] (* _T. D. Noe_, Mar 16 2012 *)

%o (Magma) [Ceiling(Tan(n)): n in [0..80]]; // _Vincenzo Librandi_, Feb 15 2013

%Y Cf. A000503, A037448, A195911.

%K sign,easy

%O 0,2

%A _Mohammad K. Azarian_, Mar 15 2012