Geno, your answer would be great if it was 199! but it isn't. All the even numbers are missing.
odd multiples of 3, 6n-3 from n=1 to n=round down[(199+3)/6] = 33 33 of them
odd multiples of 9 9,27,.....189 9*1 to 9*21 11 of them
odd multiples of 27 27 ,... 179 27*1 to 27*7 4 of them
odd multiples of 81 81 that is the only one 1 of them
33+11+4+1 = 49
So guest and I agree. But i used Genos method :)