##Groovy, 46 bytes <!-- language: lang-groovy --> {(0..500).collect{x->x%3==0||x=~/3/?'bzzt':x}} This is an unnamed closure. [Try it Online!][1] [1]: https://tio.run/#LQRmx