Icosikaienneagonal Number | C ++ implementation for above approach ; Function to Find the Nth icosikaienneagonal Number ; Driver Code
#include <iostream> NEW_LINE using namespace std ; int icosikaienneagonalNum ( int n ) { return ( 27 * n * n - 25 * n ) / 2 ; } int main ( ) { int n = 3 ; cout << icosikaienneagonalNum ( n ) ; return 0 ; }