Sum of fourth power of first n even natural numbers | calculate the sum of fourth power of first n even natural numbers ; Driven Program
function evenPowerSum ( n ) { return ( 8 * n * ( n + 1 ) * ( 2 * n + 1 ) * ( 3 * n * n + 3 * n - 1 ) ) / 15 ; } var n = 4 ; document . write ( evenPowerSum ( n ) ) ;