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.

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

Table of values

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

List of values

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