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.

A158682 Numbers n such that 1 plus the sum of the first n primes is divisible by n+1.

This page as a plain text file.
%I A158682 #16 Mar 15 2022 14:32:10
%S A158682 2,6,224,486,734,50046,142834,170208,249654,316585342,374788042,
%T A158682 2460457826,2803329304,6860334656,65397031524,78658228038
%N A158682 Numbers n such that 1 plus the sum of the first n primes is divisible by n+1.
%C A158682 a(17) > pi(4*10^12). - _Donovan Johnson_, Jul 02 2010
%t A158682 k = 0; s = 1; p = 2; lst = {}; While[k < 10^9, s = s + p; If[ Mod[s, ++k + 1] == 0, AppendTo[lst, k]; Print[{k, p}]]; p = NextPrime@ p]
%Y A158682 Cf. A153022, A045345, A128165, A000040, A007504, A111441.
%K A158682 nonn,more
%O A158682 1,1
%A A158682 _Ctibor O. Zizka_, Mar 24 2009
%E A158682 a(6)-a(8) from _R. J. Mathar_, Mar 26 2009
%E A158682 a(9)-a(11) from _Donovan Johnson_, Nov 15 2009
%E A158682 a(12)-a(13) from _Ray Chandler_, May 31 2010
%E A158682 a(14)-a(16) from _Donovan Johnson_, Jul 02 2010