The Problem set for this assignment is due 5:00pm September 26, 2005.
Start Haskell using the following steps (these are the same as the ones you used in the Assignment 1 Lab).
(a) A Unix "Shell" where you can run Haskell programs: select Macintosh HD -> Applications -> Utilities -> Terminal
(b) A text editor where you can edit Haskell programs: select Macintosh HD -> Applications -> TextEdit
-------------------------------------------------------
Using Haskell to Help Think about Numbers and Sequences
Allen Tucker
January 2004
-------------------------------------------------------
> module Asst3 where
Sometimes it is useful to generate a few sequences of numbers that have a certain property to help us understand that property better. For instance, suppose we are told that the sum of the first n odd integers is n^2. Our first instinct is to try out a few of these:
n sum n^2
--- ------------------- ---
1 1 1
2 1 + 3 4
3 1 + 3 + 5 9
You should complete this tutorial before
beginning the Problem set for this assignment.