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!)
A360311 The sum of the primes prime(n) + prime(n+1) + ... + prime(n+k) in A360297. 3
5, 26, 124, 318, 1703, 1133, 2086, 7641, 10912775, 60927, 8764, 184252585101, 144329, 474, 1090 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
See A360297 for further details.
LINKS
PROG
(Python)
from sympy import prime, nextprime
def A360311(n):
p = prime(n)
q = nextprime(p)
s, k = p+q, 1
while s%(q:=nextprime(q)):
k += 1
s += q
return s # Chai Wah Wu, Feb 06 2023
CROSSREFS
Sequence in context: A171702 A254825 A272123 * A285905 A344218 A247491
KEYWORD
nonn,more
AUTHOR
Scott R. Shannon, Feb 03 2023
STATUS
approved

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 25 10:51 EDT 2024. Contains 371967 sequences. (Running on oeis4.)