login
The OEIS is supported by the many generous donors 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

%I #4 Mar 30 2012 17:29:51

%S 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,

%T 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,

%U 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

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

%C Inspired by A122480.

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

%K nonn

%O 1,4

%A _Ray Chandler_, Sep 25 2006

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 30 19:56 EDT 2024. Contains 375546 sequences. (Running on oeis4.)