Tetracontaoctagonal Number | C # program for above approach ; Function to find the nth TetracontaoctagonalNum Number ; Driver code
using System ; class GFG { static int TetracontaoctagonalNum ( int n ) { return ( 46 * n * n - 44 * n ) / 2 ; } public static void Main ( ) { int n = 3 ; Console . Write ( TetracontaoctagonalNum ( n ) ) ; } }