I am not sure of which specific bit you are looking for, but that sounds like Botejin. It is a short on Pythagoras Switch, a kid's show made up of various short bits.
Is this what you are thinking of?
ぼてじんの唄 - YouTube
There are quite a few different shorts based on the same character, doing the same thing.
Oh, and it isn't "buta", it is "bote".