OFFSET
6,1
LINKS
EXAMPLE
a(17) = 7; of the 4 ways to write 17 as the sum of 3 primes, 7 is the largest "middle" part: 2+2+13 = 3+3+11 = 3+7+7 = 5+5+7.
MATHEMATICA
Table[Max[Select[IntegerPartitions[n, {3}], AllTrue[#, PrimeQ]&][[;; , 2]]], {n, 6, 90}] (* Harvey P. Dale, Jan 31 2025 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Jun 25 2022
STATUS
approved