login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A000493 a(n) = floor(sin(n)). 8

%I #27 Sep 08 2022 08:44:28

%S 0,0,0,0,-1,-1,-1,0,0,0,-1,-1,-1,0,0,0,-1,-1,-1,0,0,0,-1,-1,-1,-1,0,0,

%T 0,-1,-1,-1,0,0,0,-1,-1,-1,0,0,0,-1,-1,-1,0,0,0,0,-1,-1,-1,0,0,0,-1,

%U -1,-1,0,0,0,-1,-1,-1,0,0,0,-1,-1,-1,-1,0,0,0,-1,-1,-1,0,0,0,-1,-1,-1,0,0

%N a(n) = floor(sin(n)).

%H Robert Israel, <a href="/A000493/b000493.txt">Table of n, a(n) for n = 0..10000</a>

%F a(n) = -(A032615(n) mod 2). - _Robert Israel_, Jun 14 2015

%p f := n->floor(evalf(sin(n)));

%t f[ n_ ] := Floor[ N[ Sin[ n ] ] ]

%t Floor[Sin[Range[0,90]]] (* _Harvey P. Dale_, Dec 04 2012 *)

%o (Magma) [Floor(Sin(n)): n in [0..100]]; // _Vincenzo Librandi_, Jun 15 2015

%Y Cf. A032615, A126564 (even bisection), A000480 (floor cos(n)).

%K sign,easy

%O 0,1

%A _N. J. A. Sloane_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 11:39 EDT 2024. Contains 371969 sequences. (Running on oeis4.)