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

A122807

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

Terms

    a(0) =0a(1) =1a(2) =1a(3) =2a(4) =1a(5) =2a(6) =1a(7) =0a(8) =2a(9) =0a(10) =1a(11) =2a(12) =1a(13) =0a(14) =2a(15) =0a(16) =1a(17) =2a(18) =1a(19) =0a(20) =2a(21) =4a(22) =1a(23) =0a(24) =0a(25) =2a(26) =0a(27) =0a(28) =1a(29) =2

External references