Given an array of integers, find the combination of integers forming a sequence which satisfies the below conditions: The ith integer must satisfy the given equation in the seq