Barabási implemented with lazy sequences; produces stack overflow for large n