Numbers in 1…50 with no n and 2n

Maximal number of integers among 1..50 that can be selected if we are not allowed to select n and 2n at at same time

Best try:

Current number: 0