Concentric Hexagonal Numbers | Function to find nth concentric hexagon number ; Driver code ; Function call
function concentric_Haxagon ( n ) { return parseInt ( 3 * Math . pow ( n , 2 ) / 2 ) ; } var n = 3 ; document . write ( concentric_Haxagon ( n ) ) ;