Problem statement: You are given a number N, please find an array of length N so that, no two elements divide each other, and the total sum is minimized.
Example: N = 2: arr = {1} N = 3: arr = {2, 3}
Caveat: it isn't the first N primes.
| № | Пользователь | Рейтинг |
|---|---|---|
| 1 | Benq | 3792 |
| 2 | VivaciousAubergine | 3647 |
| 3 | Kevin114514 | 3611 |
| 4 | jiangly | 3583 |
| 5 | strapple | 3515 |
| 6 | tourist | 3470 |
| 7 | dXqwq | 3436 |
| 8 | Radewoosh | 3415 |
| 9 | Otomachi_Una | 3413 |
| 10 | Um_nik | 3376 |
| Страны | Города | Организации | Всё → |
| № | Пользователь | Вклад |
|---|---|---|
| 1 | Qingyu | 162 |
| 2 | adamant | 149 |
| 3 | Um_nik | 146 |
| 4 | Dominater069 | 143 |
| 5 | errorgorn | 141 |
| 6 | cry | 138 |
| 7 | Proof_by_QED | 135 |
| 7 | YuukiS | 135 |
| 9 | chromate00 | 134 |
| 10 | soullless | 132 |
Need help solving a hard problem
Problem statement: You are given a number N, please find an array of length N so that, no two elements divide each other, and the total sum is minimized.
Example: N = 2: arr = {1} N = 3: arr = {2, 3}
Caveat: it isn't the first N primes.
| Rev. | Язык | Кто | Когда | Δ | Комментарий | |
|---|---|---|---|---|---|---|
| en2 |
|
crowned_85 | 2025-04-11 19:07:29 | 12 | ||
| en1 |
|
crowned_85 | 2025-04-11 15:50:58 | 276 | Initial revision (published) |
| Название |
|---|


