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.

A000484 a(n) = round(cos(n)).

This page as a plain text file.
%I A000484 #20 Aug 28 2016 18:23:32
%S A000484 1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,-1,0,1,1,0,-1,
%T A000484 -1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,
%U A000484 -1,-1,0,1,1,0,-1,-1,-1,0,1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0
%N A000484 a(n) = round(cos(n)).
%H A000484 T. D. Noe, <a href="/A000484/b000484.txt">Table of n, a(n) for n = 0..1000</a>
%p A000484 f := n->round(evalf(cos(n)));
%t A000484 Array[ Round[ Cos[ # ] // N ]&, 90, 0 ]
%K A000484 sign,easy
%O A000484 0,1
%A A000484 _N. J. A. Sloane_