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.

A112386 Smallest prime obtained by appending one or more 1's to n, -1 if no such prime exists.

Table of values

n a(n)
1 11
2 211
3 31
4 41
5 511111
6 61
7 71
8 811
9 911
10 101
11 1111111111111111111
12 121111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
13 131
14 14111111111
15 151
16 16111
17 1711111111
18 181
19 191
20 2011
21 211
22 22111
23 2311
24 241

List of values

[11, 211, 31, 41, 511111, 61, 71, 811, 911, 101, 1111111111111111111, 121111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111, 131, 14111111111, 151, 16111, 1711111111, 181, 191, 2011, 211, 22111, 2311, 241]