text: Icositetragonal Number | C ++ program to find nth Icositetragonal number ; Function to find Icositetragonal number ; Formula to calculate nth Icositetragonal number ; Driver Code
code: #include <bits/stdc++.h> NEW_LINE using namespace std ; int Icositetragonal_num ( int n ) { return ( 22 * n * n - 20 * n ) / 2 ; } int main ( ) { int n = 3 ; cout << Icositetragonal_num ( n ) << endl ; n = 10 ; cout << Icositetragonal_num ( n ) ; return 0 ; }