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.

A087508 Number of k such that mod(k*n,3) = 1 for 0 <= k <= n.

Table of values

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

List of values

[0, 1, 1, 0, 2, 2, 0, 3, 3, 0, 4, 4, 0, 5, 5, 0, 6, 6, 0, 7, 7, 0, 8, 8, 0, 9, 9, 0, 10, 10, 0, 11, 11, 0, 12, 12, 0, 13, 13, 0, 14, 14, 0, 15, 15, 0, 16, 16, 0, 17, 17, 0, 18, 18, 0, 19, 19, 0, 20, 20, 0, 21, 21, 0, 22, 22, 0, 23, 23, 0, 24, 24, 0, 25, 25, 0, 26, 26, 0, 27, 27, 0, 28, 28, 0]