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.

A111323 Numbers k such that 9 divides prime(1) + ... + prime(k).

This page as a plain text file.
%I A111323 #12 May 14 2024 03:58:48
%S A111323 20,24,26,30,40,42,52,74,78,80,88,113,119,127,163,177,179,187,205,207,
%T A111323 242,248,254,258,260,262,268,270,280,282,284,288,297,311,331,357,368,
%U A111323 372,380,394,398,400,410,412,416,428,436,443,457,466,468,470,474,490,496,505,509
%N A111323 Numbers k such that 9 divides prime(1) + ... + prime(k).
%H A111323 Amiram Eldar, <a href="/A111323/b111323.txt">Table of n, a(n) for n = 1..10000</a>
%t A111323 Flatten[Position[Accumulate[Prime[Range[509]]]/9,_Integer]] (* _Jayanta Basu_, May 18 2013 *)
%o A111323 (PARI) lista(pmax) = {my(s = 0, k = 0); forprime(p = 2, pmax, k++; s += p; if(!(s % 9), print1(k, ", ")));} \\ _Amiram Eldar_, May 14 2024
%Y A111323 Cf. A007504, A103208, A111318, A111319, A111320, A111321, A111322, A111324, A111325, A111326, A111327.
%K A111323 nonn
%O A111323 1,1
%A A111323 _N. J. A. Sloane_, Nov 05 2005