OFFSET
1,1
COMMENTS
EXAMPLE
3 + 5 = 8;
15 + 17 = 32;
61 + 67 = 128.
PROG
(Python)
from itertools import islice
from sympy import nextprime
def A356421_gen():
m = 1
while True:
n = m+1<<1
k = m
p = nextprime(k)
while k+p>n:
k -=1
p = nextprime(k)
if k+p==n:
yield k
m = n-1
CROSSREFS
KEYWORD
nonn
AUTHOR
Ali Sada, Aug 06 2022
EXTENSIONS
Terms from Tom Duff via Seqfan.
STATUS
approved