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.

A233520 The number of distinct values of x^x (mod n) - x for x in 0 < x < n.

Table of values

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

List of values

[0, 1, 2, 2, 4, 2, 5, 4, 5, 5, 6, 4, 10, 7, 8, 9, 11, 5, 12, 9, 12, 10, 15, 9, 14, 12, 14, 12, 19, 11, 21, 19, 18, 16, 19, 12, 28, 18, 18, 18, 30, 13, 33, 20, 22, 23, 36, 18, 28, 20, 23, 27, 39, 17, 35, 24, 32, 30, 43, 20, 46, 33, 26, 37, 37, 22, 49, 34, 34, 30]