A249988 Integer part of sine of n degrees multiplied by 1000.
0, 17, 34, 52, 69, 87, 104, 121, 139, 156, 173, 190, 207, 224, 241, 258, 275, 292, 309, 325, 342, 358, 374, 390, 406, 422, 438, 453, 469, 484, 500, 515, 529, 544, 559, 573, 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
Offset: 0
Keywords
Examples
sin(Pi/2) = sin(90 deg.) = 1, so a(90)=1000.
Programs
-
Mathematica
Table[IntegerPart[1000*Sin[n Degree]],{n,0,60}] (* Harvey P. Dale, May 22 2015 *)
-
Python
import math for n in range(381): print(int(1000*math.sin(math.pi*n/180)), end=', ')
Formula
a(n) = round(1000*sin(Pi*n/180)), where round() is the rounding towards zero function.
a(360+n) = a(n).
a(180+n) = -a(n).
Extensions
Corrected and extended by Harvey P. Dale, May 22 2015
Comments