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.

A337157 a(n) is the smallest m such that A054024(m) = prime(n), where A054024(m) is A000203(m) mod m, or -1 if there is no such m.

Table of values

n a(n)
1 20
2 4
3 -1
4 8
5 21
6 27
7 39
8 36
9 57
10 115
11 32
12 155
13 63
14 50
15 129
16 235
17 265
18 371
19 305
20 201
21 98
22 365
23 237
24 171
25 245
26 291
27 485
28 309
29 325
30 327
31 128
32 189
33 279
34 917
35 1507
36 1529
37 242
38 785
39 489
40 835
41 865
42 1211
43 385
44 605
45 579
46 324
47 338
48 2321
49 669
50 1115
51 687
52 1165
53 399
54 1936

List of values

[20, 4, -1, 8, 21, 27, 39, 36, 57, 115, 32, 155, 63, 50, 129, 235, 265, 371, 305, 201, 98, 365, 237, 171, 245, 291, 485, 309, 325, 327, 128, 189, 279, 917, 1507, 1529, 242, 785, 489, 835, 865, 1211, 385, 605, 579, 324, 338, 2321, 669, 1115, 687, 1165, 399, 1936]