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.

A112987 a(n) = 2^(2^n mod n) for n > 0; a(0) = 2.

Table of values

n a(n)
0 2
1 1
2 1
3 4
4 1
5 4
6 16
7 4
8 1
9 256
10 16
11 4
12 16
13 4
14 16
15 256
16 1
17 4
18 1024
19 4
20 65536
21 256
22 16
23 4
24 65536
25 128
26 16
27 67108864
28 65536
29 4
30 16
31 4
32 1
33 256
34 16
35 262144
36 268435456
37 4
38 16
39 256
40 65536
41 4
42 4194304
43 4
44 65536
45 131072
46 16
47 4
48 65536
49 1073741824
50 16777216
51 256

List of values

[2, 1, 1, 4, 1, 4, 16, 4, 1, 256, 16, 4, 16, 4, 16, 256, 1, 4, 1024, 4, 65536, 256, 16, 4, 65536, 128, 16, 67108864, 65536, 4, 16, 4, 1, 256, 16, 262144, 268435456, 4, 16, 256, 65536, 4, 4194304, 4, 65536, 131072, 16, 4, 65536, 1073741824, 16777216, 256]