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.

A342828 a(n) = Sum_{d|n} (-1)^(n/d+1) * d^(n-d).

Table of values

n a(n)
1 1
2 0
3 2
4 -4
5 2
6 -11
7 2
8 -320
9 731
10 -2869
11 2
12 -1827
13 2
14 -819447
15 10297068
16 -33570816
17 2
18 1775078476
19 2
20 -36222872973
21 678610493340
22 -285310622035
23 2
24 169888943418701
25 95367431640627
26 -302875089815037
27 150094917726535604
28 -569376395999240231
29 2
30 104002456598734754865
31 2

List of values

[1, 0, 2, -4, 2, -11, 2, -320, 731, -2869, 2, -1827, 2, -819447, 10297068, -33570816, 2, 1775078476, 2, -36222872973, 678610493340, -285310622035, 2, 169888943418701, 95367431640627, -302875089815037, 150094917726535604, -569376395999240231, 2, 104002456598734754865, 2]