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.

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

Table of values

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

List of values

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