Covering an arithmetic progression with geometric progressions and vice versa