Power of Pow | Even Number
School Accuracy: 46.14% Submissions: 52 Points: 0

Given a single integer N, your task is to find the sum of the square of first N even natural Numbers.

Example 1:

Input: 2
Output: 20
Explanation: 22 + 42 = 20

Example 2: 

Input: 3
Outptut: 46
Explanation: 22 + 42 + 62 = 46


Your Task:
You don't need to read or print anything. Your task is to complete the function sum_of_square_evenNumbers() wgich takes N as input parameter and returns the sum of first N even natural numbers.


Expected Time Complexity: O(1)
Expected Space Complexity: O(1)


1 <= N <= 10000

to report an issue on this page.


We strongly recommend solving this problem on your own before viewing its editorial. Do you still want to view the editorial?


All Submissions

My Submissions:

Login to access your submissions.