|All-time Popular Problems|
|Delete Middle of Linked List|
|Intersection of Two Linked Lists|
|Egg Dropping Puzzle|
|Consecutive 1's not allowed|
|Element with left side smaller and right side greater|
|Merge two sorted linked lists|
|Minimum element in a sorted and rotated array|
|Root to leaf path sum|
|Minimum number of jumps|
Given a single integer N, your task is to find the sum of the square of first N even natural Numbers.
Input : 3 Output : 56 22 + 42 + 62 = 56 Input : 8 Output : 816 22 + 42 + 62 + 82 + 102 + 122 + 142 + 162
First line of the input contains an integer T, denoting the number of test cases. Then T test case follows. The only line of each test case contains an integer N.
For each test case output the required anser on a new line.