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.

A194817 Number of integers k in [1,n] such that {n*r+k*r} < {n*r-k*r}, where { } = fractional part and r=sqrt(3).

Table of values

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

List of values

[0, 1, 1, 2, 3, 4, 4, 4, 5, 5, 5, 5, 6, 6, 7, 8, 9, 9, 10, 11, 12, 12, 12, 13, 13, 13, 13, 14, 14, 15, 16, 17, 17, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 22, 23, 24, 24, 25, 26, 26, 26, 26, 27, 27, 28, 29, 30, 30, 31, 32, 33, 33, 33, 34, 34, 34, 34, 35, 35, 36, 37]