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.

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

List of values

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