Can we have this for 1/n, 2/n, 5/n and 6/n? And in 2 and 4 terms. Jon Perry perry at globalnet.co.uk http://www.users.globalnet.co.uk/~perry/maths BrainBench MVP for HTML and JavaScript http://www.brainbench.com