In which episode does vegeta transform into super saiyan 3?

vegeta is the prince of all saiyans, but he was never able transform into a supper saiyan 3.Infact he didn't even turn super saiyan 4 on his own.Balma invented some type of machine that inhanced his power level so that he could transform into super saiyan 4.