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.

A126565 a(n) = ceiling(sin(n)*cos(n)).

This page as a plain text file.
%I A126565 #5 Jun 24 2019 22:13:35
%S A126565 0,1,0,0,1,0,0,1,0,0,1,0,0,1,1,0,1,1,0,1,1,0,1,1,0,0,1,0,0,1,0,0,1,0,
%T A126565 0,1,1,0,1,1,0,1,1,0,1,1,0,0,1,0,0,1,0,0,1,0,0,1,1,0,1,1,0,1,1,0,1,1,
%U A126565 0,0,1,0,0,1,0,0,1,0,0,1,1,0,1,1,0,1,1,0,1,1,0,0,1,0,0,1,0,0,1,0,0,1,1,0,1
%N A126565 a(n) = ceiling(sin(n)*cos(n)).
%C A126565 For all nonzero integers n, ceiling(sin(n)*cos(n)) = 1 + floor(sin(n)*cos(n)), so a(n) = 1 + A126564(n) for n > 0 (a(0) = A126564(0) = 0).
%F A126565 a(n) = ceiling(sin(n)*cos(n)).
%o A126565 (PARI) a(n) = ceil(sin(n)*cos(n))
%Y A126565 Cf. A126564.
%K A126565 nonn
%O A126565 0,1
%A A126565 _Rick L. Shepherd_, Dec 27 2006