I want to implement the following formula http://www.math.hmc.edu/funfacts/ffiles/20010.5.shtml into a computer program but my math skills are a bit weak and the square brakets and for confuse me. Could someone please explain how this formula would be used where n is 5 or something?
Thanks

