% LMex030505_4th
% Example 3.5.5 Page 180 in
% Larsen & Marx (2006) Introduction to Mathematical Statistics, 4th edition
% Written by Eugene.Gallagher@umb.edu for EEOS601 1/13/11
% http://alpha.es.umb.edu/faculty/edg/files/edgwebp.html
% St Petersburg paradox
syms k
symsum(2^k*1/2^k,1,inf)