first indices and their formula in a list