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!)
A111325 Numbers k such that 11 divides prime(1)+...+prime(k). 1

%I #6 Aug 17 2021 07:21:39

%S 8,17,53,69,76,84,87,91,167,175,179,181,188,196,201,217,219,224,240,

%T 260,275,297,312,317,319,324,340,346,376,382,386,393,417,470,503,514,

%U 526,528,542,550,562,564,584,590,607,613,615,629,637,649,691,693,732,749,752,759

%N Numbers k such that 11 divides prime(1)+...+prime(k).

%H Michael S. Branicky, <a href="/A111325/b111325.txt">Table of n, a(n) for n = 1..10000</a>

%o (Python)

%o from sympy import nextprime

%o def aupto(limit):

%o p, s, alst = 2, 2, []

%o for k in range(1, limit+1):

%o if s == 0: alst.append(k)

%o p = nextprime(p); s = (s + p)%11

%o return alst

%o print(aupto(759)) # _Michael S. Branicky_, Aug 17 2021

%Y Cf. A007504.

%K nonn

%O 1,1

%A _N. J. A. Sloane_, Nov 05 2005

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 April 24 15:50 EDT 2024. Contains 371961 sequences. (Running on oeis4.)