login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A122807 Least positive k such that n is equal to arithmetic mean of k consecutive primes, or 0 if no such k exists. 1
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 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,4

COMMENTS

Inspired by A122480.

LINKS

Table of n, a(n) for n=1..102.

CROSSREFS

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

Sequence in context: A130911 A118829 A118832 * A105700 A236831 A030205

Adjacent sequences:  A122804 A122805 A122806 * A122808 A122809 A122810

KEYWORD

nonn

AUTHOR

Ray Chandler, Sep 25 2006

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 23 23:15 EST 2018. Contains 299595 sequences. (Running on oeis4.)