text: Icositetragonal Number | C # program to find nth icositetragonal number ; Function to find icositetragonal number ; Formula to calculate nth icositetragonal number ; Driver code
code: using System ; class GFG { static int Icositetragonal_num ( int n ) { return ( 22 * n * n - 20 * n ) / 2 ; } public static void Main ( string [ ] args ) { int n = 3 ; Console . Write ( Icositetragonal_num ( n ) + " STRNEWLINE " ) ; n = 10 ; Console . Write ( Icositetragonal_num ( n ) + " STRNEWLINE " ) ; } }