โ† CEDCOSS questions

Build an alternating prime and non-prime subsequence with minimum penalty

Filed under CEDCOSS

The question

Generate a subsequence alternating primes and non-primes; every number that cannot be used incurs a penalty, which must be minimised.

No write-up yet. Related questions below have one.

Related CEDCOSS questions

Collected from public candidate posts and coding forums. Updated Nov 2026.