login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A331417
Maximum sum of primes of the parts of an integer partition of n.
5
0, 2, 4, 6, 8, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269
OFFSET
0,2
COMMENTS
For n > 4, a(n) = prime(n).
FORMULA
a(n) = A331418(n) + n - 1.
MATHEMATICA
Table[Max@@Table[Total[Prime/@y], {y, IntegerPartitions[n]}], {n, 0, 10}]
CROSSREFS
Converges to A000040.
Row lengths of A331416.
The corresponding minimum is A007494.
Partitions whose sum of primes is divisible by their sum are A331379.
Sequence in context: A027919 A174058 A186382 * A077473 A200738 A129896
KEYWORD
nonn
AUTHOR
Gus Wiseman, Jan 17 2020
STATUS
approved