I recall my grandfather having farting competitions with his friends one Christmas.
However, I'd certainly consider the man "smart" or even a "genius". Not too great at book smarts (well, mathematics, at least). But the man was a genius in his own right: an incredible artist (oils on Masonite, having paintings sell for millions), an Expert marksman when he shot for the Army Rifle Team (they asked him to go to the Olympics), a phenomenal outdoorsman (if it exists, he probably knew its name, scientific name, what it ate or ate it, etc.), and a poet/singer who knew thousands of lengthy songs and poems by heart (including Horatius and many of his own).
But yeah, he liked lewd jokes and fart competitions. That, alone, doesn't make someone dumb.
A large part of American society still frowns upon the outward expression of intelligence (as many of us here may have experienced)
LOL. Or at least, that's what you tell yourself. Americans don't as a whole or as individuals frown on intelligence, what is frowned on is dweebs with no social skills--who aren't hated for being intelligent, but for being pedantic, insecure, self righteous, weird ass mother fuckers. Whereas the men who are not only intelligent but also look halfway presentable, project themselves with confidence, and are pleasant to be around, are liked and respected by their peers and they have women chatting them up left and right. Let's face it--it's not about anti-intellectualism, it's about your poor attitude, your irritating personality, your poor personal hygiene and shitty clothes, or that extra 150 lbs of fat you haul around, or a combination of the above.
The generation of random numbers is too important to be left to chance.