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.

A194337 Triangular array: g(n,k)=number of fractional parts (i*r) in interval [(k-1)/n, k/n], for 1<=i<=n, 1<=k<=n, r=3-sqrt(5).

Table of values

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

List of values

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