I have to create a special kind of list in Haskell. First I had to create a function whether it's an abundant number or not. An abundant number is when summing the divisors of number the result is bigger then the double of the original number, for example in the case of
12-> 1,2,3,4,6,12 > 24
I had this solution:
abundant n = sum[x | x <- [1..(n-1)], n `rem` x == 0]+n> 2*n
Now I should create a list which shows you a certain number of abundant number, how should I do it?