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.

A264747 Prime powers n such that either n - 1 or n + 1 is a prime power, but not both.

Table of values

n a(n)
1 1
2 5
3 7
4 9
5 16
6 17
7 31
8 32
9 127
10 128
11 256
12 257
13 8191
14 8192
15 65536
16 65537
17 131071
18 131072
19 524287
20 524288
21 2147483647
22 2147483648
23 2305843009213693951
24 2305843009213693952
25 618970019642690137449562111

List of values

[1, 5, 7, 9, 16, 17, 31, 32, 127, 128, 256, 257, 8191, 8192, 65536, 65537, 131071, 131072, 524287, 524288, 2147483647, 2147483648, 2305843009213693951, 2305843009213693952, 618970019642690137449562111]