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