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.

A000480 a(n) = floor(cos(n)).

This page as a plain text file.
%I A000480 #18 Sep 08 2022 08:44:28
%S A000480 1,0,-1,-1,-1,0,0,0,-1,-1,-1,0,0,0,0,-1,-1,-1,0,0,0,-1,-1,-1,0,0,0,-1,
%T A000480 -1,-1,0,0,0,-1,-1,-1,-1,0,0,0,-1,-1,-1,0,0,0,-1,-1,-1,0,0,0,-1,-1,-1,
%U A000480 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
%N A000480 a(n) = floor(cos(n)).
%p A000480 f := n->floor(evalf(cos(n)));
%t A000480 Table[Floor[Cos[n]], {n, 0, 100}]
%o A000480 (Magma) [Floor(Cos(n)): n in [0..100]]; // _Wesley Ivan Hurt_, Apr 21 2021
%K A000480 sign,easy
%O A000480 0,1
%A A000480 _N. J. A. Sloane_