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.

A000091 Multiplicative with a(2^e) = 2 for k >= 1; a(3) = 2, a(3^e) = 0 for k >= 2; a(p^e) = 0 if p > 3 and p == -1 (mod 3); a(p^e) = 2 if p > 3 and p == 1 (mod 3).

Table of values

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

List of values

[1, 2, 2, 2, 0, 4, 2, 2, 0, 0, 0, 4, 2, 4, 0, 2, 0, 0, 2, 0, 4, 0, 0, 4, 0, 4, 0, 4, 0, 0, 2, 2, 0, 0, 0, 0, 2, 4, 4, 0, 0, 8, 2, 0, 0, 0, 0, 4, 2, 0, 0, 4, 0, 0, 0, 4, 4, 0, 0, 0, 2, 4, 0, 2, 0, 0, 2, 0, 0, 0, 0, 0, 2, 4, 0, 4, 0, 8, 2, 0, 0, 0, 0, 8, 0, 4, 0, 0, 0, 0, 4, 0, 4, 0, 0, 4, 2, 4, 0, 0, 0, 0, 2, 4, 0]