http://www.jstor.org/pss/1914185
Unlike most people in this discussion, I like the idea and think it might work under certain circumstances (probably goods with low prices and high price inelasticity).
This rant used to conclude with "therefore, buying lottery tickets is irrational; period", but someone on Less Wrong recently brought up a valid exception: it can be rational if you're currently deeply in debt. Utility functions are actually sigma-shaped: they flatten as you get more deeply negative as well. Being two trillion in debt isn't very much worse than being one trillion in debt. So when you're in debt, your utility function can get steeper before it gets shallower.
Actually, this is a big problem with conventional economics: it assumes that all variables are conventional. So income taxes don't affect people's willingness to work nearly as much as theory predicts, because their choice is usually between "Have a job" and "Don't have a job" and not "Do $30K of work per year" and "Do $40k of work per year". Unemployment exists because a business can't just drop wages to the equilibrium level, but rather workers make the choice between "I'm being paid fairly" and "I'm not being paid fairly" and act appropriately. Market niches are not instantly filled because entrepreneurship often has a binary outcome of "Get rich" and "Fail", and not a continuous distribution of outcomes.
s/conventional/continuous/. I can't type at night.
More generally, you could let them specify the pay probability p or price $Y >= $X. Given p, have them pay $X/p. Given $Y, make them pay with probability $X/$Y.
Lottery addicts certainly can't do math since they waste a lot of money on tickets. But a good many other people just buy one a week or just occasionally, eg when there's a particularly large jackpot on offer. This isn't so irrational; a regular player will make a few bucks back over the year on small prizes, and the risk/reward ratio improves for a big jackpot even though the odds don't.
It's worth recalling that while the odds on any individual ticket are awful, enough people are playing that people do win big prizes on a semi-regular basis. For small-spend players who can afford it, and may think of it as semi-charitable given the uses to which lottery profits are put, is it really any more irrational than certain kinds of insurance?
Some people get a kick out of the whole buy a ticket, wait for the numbers, get excited dreaming thing.
For some folks, it's entertainment.
There's a reason why people indulge "If I won the lottery..." fantasies.