#Lutece1853. Saddle the Pony
Saddle the Pony
Migrated from Lutece 1853 Saddle the Pony
All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.
Description
You must have ever learned fibonacci sequence, which satisfy , we define and here.
For a postive integer , consider all different integer array as set which satisfy the following condition: $N = \sum_{i=1}^{\infty} \alpha_i \cdot F_i(\alpha_i \geq 0)$
We define $f(N)=\sum_{\alpha \in \Re}(\sum_{i=1}^{\infty}\alpha_i \cdot i^2)^2$
Now you are given queries, for each query you are given a positive integer , you need to print in a single line.
Input
The first line contains one integer
Each of the next lines contatins a postive integer
Output
For each query, print in a single line.
Samples
3
1
2
3
1
20
115
Resources
The 16th UESTC Programming Contest Preliminary