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.

A111319 Numbers k such that 5 divides prime(1) + ... + prime(k).

This page as a plain text file.
%I A111319 #12 May 14 2024 03:59:02
%S A111319 2,3,9,11,17,25,29,31,51,53,57,62,71,77,85,89,91,101,103,105,116,118,
%T A111319 131,147,153,156,159,167,173,180,186,188,190,195,209,226,230,239,242,
%U A111319 245,256,259,261,266,268,283,292,298,303,314,317,324,349,352,357,364,366,368,376
%N A111319 Numbers k such that 5 divides prime(1) + ... + prime(k).
%H A111319 Amiram Eldar, <a href="/A111319/b111319.txt">Table of n, a(n) for n = 1..10000</a>
%t A111319 Position[Accumulate[Prime[Range[400]]], _?(Divisible[#, 5] &)] // Flatten (* _Amiram Eldar_, May 14 2024 *)
%o A111319 (PARI) lista(pmax) = {my(s = 0, k = 0); forprime(p = 2, pmax, k++; s += p; if(!(s % 5), print1(k, ", ")));} \\ _Amiram Eldar_, May 14 2024
%Y A111319 Cf. A007504, A103208, A111318, A111320, A111321, A111322, A111323, A111324, A111325, A111326, A111327.
%K A111319 nonn
%O A111319 1,1
%A A111319 _N. J. A. Sloane_, Nov 05 2005