Partition an integer x into n primes: Difference between revisions
Content added Content deleted
m (added whitespace to the task's preamble.) |
m (added whitespace.) |
||
Line 11: | Line 11: | ||
Show in the output section the sum '''X''' and the '''N''' primes in ascending order separated by plus ('''+''') signs: |
Show in the output section the sum '''X''' and the '''N''' primes in ascending order separated by plus ('''+''') signs: |
||
<big>•</big> partition '''99809''' with 1 prime. |
<big> • </big> partition '''99809''' with 1 prime. |
||
<big>•</big> partition '''18''' with 2 primes. |
<big> • </big> partition '''18''' with 2 primes. |
||
<big>•</big> partition '''19''' with 3 primes. |
<big> • </big> partition '''19''' with 3 primes. |
||
<big>•</big> partition '''20''' with 4 primes. |
<big> • </big> partition '''20''' with 4 primes. |
||
<big>•</big> partition '''2017''' with 24 primes. |
<big> • </big> partition '''2017''' with 24 primes. |
||
<big>•</big> partition '''22699''' with 1, 2, 3, <u>and</u> 4 primes. |
<big> • </big> partition '''22699''' with 1, 2, 3, <u>and</u> 4 primes. |
||
<big>•</big> partition '''40355''' with 3 primes. |
<big> • </big> partition '''40355''' with 3 primes. |
||
The output could/should be shown in a format such as: |
The output could/should be shown in a format such as: |