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.

A386985 Smallest k > 0 such that the base-n number formed by concatenating k, k - 1, ..., 2, 1 (each written in base n) is prime, or -1 if no such k exists for the given n.

Table of values

n a(n)
2 2
3 2
4 4
5 2
6 2
7 373
8 2
9 2
10 82
11 2
12 3

List of values

[2, 2, 4, 2, 2, 373, 2, 2, 82, 2, 3]