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.

A122807 Least positive k such that n is equal to arithmetic mean of k consecutive primes, or 0 if no such k exists.

Original entry on oeis.org

0, 1, 1, 2, 1, 2, 1, 0, 2, 0, 1, 2, 1, 0, 2, 0, 1, 2, 1, 0, 2, 4, 1, 0, 0, 2, 0, 0, 1, 2, 1, 0, 0, 2, 0, 0, 1, 4, 2, 0, 1, 2, 1, 0, 2, 4, 1, 0, 11, 2, 8, 22, 1, 0, 4, 2, 0, 0, 1, 2, 1, 0, 0, 2, 0, 0, 1, 4, 2, 28, 1, 2, 1, 0, 0, 2, 6, 10, 1, 0, 2, 6, 1, 0, 0, 2, 4, 0, 1, 0, 12, 6, 2, 0, 21, 8, 1, 0, 2, 40, 1, 2
Offset: 1

Views

Author

Ray Chandler, Sep 25 2006

Keywords

Comments

Inspired by A122480.

Crossrefs

Cf. A060864 (indices of 0 terms), A000040 (indices of 1 terms), A024675 (indices of 2 terms).