Icosikaioctagon or Icosioctagon Number | C ++ program for above approach ; Finding the nth icosikaioctagonal number ; Driver code
#include <iostream> NEW_LINE using namespace std ; int icosikaioctagonalNum ( int n ) { return ( 26 * n * n - 24 * n ) / 2 ; } int main ( ) { int n = 3 ; cout << "3rd ▁ icosikaioctagonal ▁ Number ▁ is ▁ = ▁ " << icosikaioctagonalNum ( n ) ; return 0 ; }