Dimensions of some fractals defined via the semigroup generated by 2 and 3