Let $a(n)$ be A227559, i.e., number of partitions of $n$ into distinct parts with boundary size $2$. Be careful here: offset is $3$.
I conjecture that $a(4n+2)=2n+1$ for $n>0$ if and only if $2n+1$ is a prime number.
I guess that my conjecture has no interest, in the event that the generation of the sequence is associated with prime numbers. I visited A227345, but I never figured out exactly how the sequence is generated.
Is there a way to prove it?