Putnam Problem Average number of local maxima in permutation of 1 through n? According to the fundamental bridge: E(j=1∑nIj)=2⋅21+(n−2)⋅31=3n+1.