OFFSET
1,1
COMMENTS
See A360297 for further details.
PROG
(Python)
from sympy import prime, nextprime
def A360312(n):
p = prime(n)
q = nextprime(p)
s, k = p+q, 1
while s%(q:=nextprime(q)):
k += 1
s += q
return q # Chai Wah Wu, Feb 06 2023
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Scott R. Shannon, Feb 03 2023
STATUS
approved