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.

A249988 Integer part of sine of n degrees multiplied by 1000.

This page as a plain text file.
%I A249988 #23 Jun 23 2025 17:26:15
%S A249988 0,17,34,52,69,87,104,121,139,156,173,190,207,224,241,258,275,292,309,
%T A249988 325,342,358,374,390,406,422,438,453,469,484,500,515,529,544,559,573,
%U A249988 587,601,615,629,642,656,669,681,694,707,719,731,743,754,766,777,788,798,809,819,829,838,848,857,866
%N A249988 Integer part of sine of n degrees multiplied by 1000.
%C A249988 Due to multiplication by 1000 almost all a(n) are different for n<90, the only exception is a(89)=a(88)=999.
%F A249988 a(n) = round(1000*sin(Pi*n/180)), where round() is the rounding towards zero function.
%F A249988 a(360+n) = a(n).
%F A249988 a(180+n) = -a(n).
%e A249988 sin(Pi/2) = sin(90 deg.) = 1, so a(90)=1000.
%t A249988 Table[IntegerPart[1000*Sin[n Degree]],{n,0,60}] (* _Harvey P. Dale_, May 22 2015 *)
%o A249988 (Python)
%o A249988 import math
%o A249988 for n in range(381): print(int(1000*math.sin(math.pi*n/180)), end=', ')
%Y A249988 Cf. A000493, A000494, A000484, A000480, A249989.
%K A249988 nonn
%O A249988 0,2
%A A249988 _Alex Ratushnyak_, Nov 11 2014
%E A249988 Corrected and extended by _Harvey P. Dale_, May 22 2015