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”).

A364692
Largest number that is the sum of n distinct primes in exactly n ways; 0 if no solution exists.
1
68, 130, 42, 59, 76, 0, 0, 161, 192, 233, 227, 276, 0, 425, 480, 0, 0, 0, 752
OFFSET
2,1
LINKS
Carlos Rivera, Puzzle 1130. As 68, The Prime Puzzles & Problems Connection.
EXAMPLE
68 = 7 + 61 = 31 + 37 and there is no larger number that is the sum of 2 distinct primes in exactly 2 ways, so a(2)=68.
130 = 2 + 19 + 109 = 2 + 31 + 97 = 2 + 61 + 67 and there is no larger number that is the sum of 3 distinct primes in exactly 3 ways, so a(3)=130.
CROSSREFS
Cf. A344989 asks for the smallest number with the same properties.
Sequence in context: A376539 A111379 A352298 * A044191 A044572 A153677
KEYWORD
nonn,more
AUTHOR
Dmitry Kamenetsky, Aug 03 2023
STATUS
approved