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.

A054251 a(0) = 1; a(n) = Sum_{0 <= k < n and gcd(k, n) != 1} a(k).

Table of values

n a(n)
0 1
1 0
2 1
3 1
4 2
5 1
6 5
7 1
8 9
9 7
10 19
11 1
12 45
13 1
14 83
15 79
16 165
17 1
18 417
19 1
20 827
21 639
22 1575
23 1
24 3875
25 927
26 7025
27 5069
28 14689
29 1
30 35461
31 1
32 64199
33 47175
34 128399
35 52727
36 309767
37 1
38 566565
39 409567
40 1186863
41 1
42 2835257
43 1
44 5202425
45 4888729
46 10357675
47 1
48 26066615

List of values

[1, 0, 1, 1, 2, 1, 5, 1, 9, 7, 19, 1, 45, 1, 83, 79, 165, 1, 417, 1, 827, 639, 1575, 1, 3875, 927, 7025, 5069, 14689, 1, 35461, 1, 64199, 47175, 128399, 52727, 309767, 1, 566565, 409567, 1186863, 1, 2835257, 1, 5202425, 4888729, 10357675, 1, 26066615]