OFFSET
1,1
COMMENTS
Terms are always even because all primes used in this sequence are odd.
Conjecture: this sequence is infinite.
EXAMPLE
a(1)=24 because prime(3)+prime(8)=prime(4)+prime(7)=5+19=7+17.
MATHEMATICA
(#[[1]] + #[[6]]) & /@ Select[ Partition[ Prime@ Range@ 320, 6, 1], #[[1]] + #[[6]] == #[[2]] + #[[5]] &] (* Giovanni Resta, Mar 08 2020 *)
PROG
(Python)
from sympy import nextprime
A333122_list, plist = [], [2, 3, 5, 7, 11, 13]
while len(A333122_list) < 10000:
m = plist[0]+plist[5]
if m == plist[1]+plist[4]:
A333122_list.append(m)
plist = plist[1:] + [nextprime(plist[-1])] # Chai Wah Wu, Mar 30 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Marcin Barylski, Mar 08 2020
STATUS
approved