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.

A057791 Sum[k^(n-k)], where sum is over positive integers, k, where k <= n and gcd(k,n) = 1.

Table of values

n a(n)
1 1
2 1
3 3
4 4
5 22
6 6
7 209
8 376
9 1835
10 2540
11 49863
12 94944
13 1151914
14 2190666
15 12079274
16 95722288
17 1150653920
18 3217888350
19 47454745803
20 130819911320
21 846278385786
22 8064305838350
23 126356632390297
24 288019285668096
25 6861189820377586
26 32739025597541220
27 377062456413683219

List of values

[1, 1, 3, 4, 22, 6, 209, 376, 1835, 2540, 49863, 94944, 1151914, 2190666, 12079274, 95722288, 1150653920, 3217888350, 47454745803, 130819911320, 846278385786, 8064305838350, 126356632390297, 288019285668096, 6861189820377586, 32739025597541220, 377062456413683219]