Rick is a musician, as well as a mathematician,
so he calculates how to protect his ears amidst the noise and musical displays of a party atmosphere:
No, it is not a bug in his ear, it's a piece of black party napkin.
The photo on the above is self explanatory, and taken late in the evening...
Here's the private Uncle Rick, making sure his ears still work, in the hotel room.