Heptacontagon Number | C # program for the above approach ; Finding the nth heptacontagon number ; Driver Code
using System ; class GFG { static int heptacontagonNum ( int n ) { return ( 68 * n * n - 66 * n ) / 2 ; } public static void Main ( ) { int N = 3 ; Console . Write ( "3rd ▁ heptacontagon ▁ Number ▁ is ▁ = ▁ " + heptacontagonNum ( N ) ) ; } }