The surface of star A is twice as hot as the surface of star B, but half its size. Which star is closer to us and how many times

The surface of star A is twice as hot as the surface of star B, but half its size. Which star is closer to us and how many times if these stars are equally bright in the Earth’s sky?

According to the Stefan-Boltzmann law, we get A is twice as far from the Earth as the star B.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.