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.

A240766 Least number k > 0 such that n^k + (n-1)^k + ... + 3^k + 2^k is prime, or 0 if no such k exists.

Table of values

n a(n)
2 1
3 1
4 2
5 0
6 0
7 2
8 12
9 0
10 0
11 56
12 10
13 0
14 0
15 0
16 16
17 0
18 0
19 0

List of values

[1, 1, 2, 0, 0, 2, 12, 0, 0, 56, 10, 0, 0, 0, 16, 0, 0, 0]