analysis now agrees with monte-carlo after thinking through combinatorics of sequence