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.

A194819 Number of integers k in [1,n] such that {n*e+k*e} < {n*e-k*e}, where { } = fractional part.

Table of values

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

List of values

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