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.

A181059 a(n) = floor(sin(n) - cos(n)).

Table of values

n a(n)
0 -1
1 0
2 1
3 1
4 -1
5 -2
6 -2
7 -1
8 1
9 1
10 0
11 -2
12 -2
13 -1
14 0
15 1
16 0
17 -1
18 -2
19 -1
20 0
21 1
22 0
23 -1
24 -2
25 -2
26 0
27 1
28 1
29 0
30 -2
31 -2
32 -1
33 1
34 1
35 0
36 -1
37 -2
38 -1
39 0
40 1
41 0
42 -1
43 -2
44 -1
45 0
46 1
47 1
48 -1
49 -2
50 -2
51 -1
52 1
53 1
54 0
55 -2
56 -2
57 -1
58 0
59 1
60 0
61 -1
62 -2
63 -1
64 0
65 1
66 0
67 -1
68 -2
69 -2
70 0
71 1
72 1
73 0
74 -2
75 -2
76 -1
77 1
78 1
79 0
80 -1
81 -2
82 -1
83 0

List of values

[-1, 0, 1, 1, -1, -2, -2, -1, 1, 1, 0, -2, -2, -1, 0, 1, 0, -1, -2, -1, 0, 1, 0, -1, -2, -2, 0, 1, 1, 0, -2, -2, -1, 1, 1, 0, -1, -2, -1, 0, 1, 0, -1, -2, -1, 0, 1, 1, -1, -2, -2, -1, 1, 1, 0, -2, -2, -1, 0, 1, 0, -1, -2, -1, 0, 1, 0, -1, -2, -2, 0, 1, 1, 0, -2, -2, -1, 1, 1, 0, -1, -2, -1, 0]