OFFSET
0,5
FORMULA
EXAMPLE
a(10) = 12; The partitions of 10 into two prime parts are (7,3) and (5,5). The sum of the larger parts of these partitions is then 7+5 = 12.
PROG
(PARI) a(n) = sum(k=1, n\2, if (isprime(k) && isprime(n-k), n-k)); \\ Michel Marcus, Jan 21 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Jan 19 2022
STATUS
approved