Of course have.
First, recall that the nth Fibonacci number is
Ο (n) = [Ο ^ n - (-Ο) ^ (- n)] / β5
where Ο = (β5 + 1) / 2 (Golden Ratio) and (-Ο) ^ (- 1) = (1-β5) / 2. But to make it shorter, we denote Ο as A and (-Ο) ^ (- 1) as B.
Further, note that the sum of the Fibonacci numbers is the sum of the degrees A and B:
[Ο (n) + Ο (m)] * β5 = A ^ n + A ^ m - B ^ n - B ^ m
Now what is enough to calculate (in the example {1,2,3} ),
A ^ 1 + A ^ 2 + A ^ 3 + A ^ {1 + 2} + A ^ {1 + 3} + A ^ {2 + 3} + A ^ {1 + 2 + 3}.
But there is a simpler expression for this:
(A ^ 1 + 1) (A ^ 2 + 1) (A ^ 3 + 1) - 1
Now it's time to get the whole result.
Let our set {n1, n2, ..., nk} . Then our amount will be equal
Sum = 1/β5 * [(A^n1 + 1)(A^n2 + 1)...(A^nk + 1) - (B^n1 + 1)(B^n2 + 1)...(B^nk + 1)]
I think mathematically, this is the βsimplestβ form of the answer, since there is no connection between n_i. However, there may be room for computational optimization of this expression. In fact, I'm not sure if this (using real numbers) will work faster than the βsimpleβ summation, but the question was to avoid generating subsets, so here is the answer.