Sunday, May 18, 2008

The Mean-Median Map

This is a review of a paper I obtained at a MAA conference in August of 2007 at the Fairmont in San Jose.


authors: Marc Chamberland and Mario Martelli
published: Journal of Difference Equations and Applications, Volume 13, Issue 7 July 2007, pages 577 - 583

This was trivial, but I just want to have it for reference. Median-maps can be constructed in R with very simple code:


>
> nums = c(3,4,11)
>
> for (idx in 1:100) {
+ nextTerm = ( median(nums) * ( length(nums)+1 ) ) - sum(nums);
+ nums[length(nums)+1] = nextTerm;
+ }
> plot(nums, type="l")
>