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.

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

Table of values

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

List of values

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