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.

A162278 a(0)=1. For n >= 1, a(n) = the smallest prime either of the form a(n-1)*k - 1 or of the form a(n-1)*k + 1, for some k >= 2.

Table of values

n a(n)
0 1
1 2
2 3
3 5
4 11
5 23
6 47
7 281
8 563
9 2251
10 22511
11 225109
12 450217
13 2701301
14 10805203
15 43220813
16 2333923901
17 18671391209
18 560141736269
19 5601417362689
20 22405669450757
21 448113389015141
22 3584907112121129
23 186415169830298707

List of values

[1, 2, 3, 5, 11, 23, 47, 281, 563, 2251, 22511, 225109, 450217, 2701301, 10805203, 43220813, 2333923901, 18671391209, 560141736269, 5601417362689, 22405669450757, 448113389015141, 3584907112121129, 186415169830298707]