This was me a couple weeks ago

 
More or less out of the blue it occurred to me that the ability of a majoritarian government to supply goods that are positive externalities dependend critically and quite straightforwardly on the distribution of utility functions across the population.
 
I did a little googling and it turns out that back in the 70s someone had published almost exactly the same math I had jotted down.