Concentric Hexagonal Numbers | C # program to find nth concentric hexagon number ; Function to find nth concentric hexagon number ; Driver code ; Function call
using System ; class GFG { static int concentric_Hexagon ( int n ) { return 3 * ( int ) Math . Pow ( n , 2 ) / 2 ; } public static void Main ( ) { int n = 3 ; Console . WriteLine ( concentric_Hexagon ( n ) ) ; } }