I may choose to add a Part B to this assignment at a later date.
1 sheep, 2 sheep, 3 sheep, ...as an aid to insomniacs.
factorial = [1,1,2,6,24,120,...]
runningSums :: [Int] -> [Int]which calculates the running sums of a list
[a0,a1,a2,a3,...]
generating the list:
[0,a0,a0+a1,a0+a1+a2,a0+a1+a2+a3,...]
as
of positive numbers. That is,
we wish to find a list in ascending order that begins with 1 such that
if x
is in the list and a
is in
as
then a * x
is in the list. Design and
implement a Haskell program for this generalized Hamming problem
UP to CSCI 555 assignments document?