Josephus Problem

2021 VietMX 0

1. Statement We are given the natural numbers $n$ and $k$. All natural numbers from $1$ to $n$ are written in a circle. First, count […]

Andrey and Problem

2020 VietMX 0

Andrey needs one more problem to conduct a programming contest. He has n friends who are always willing to help. He can ask some of them to […]