Hexacontatetragon numbers | C ++ implementation for above approach ; Function to Find the Nth Hexacontatetragon Number ; Driver Code
#include <bits/stdc++.h> NEW_LINE using namespace std ; int HexacontatetragonNum ( int n ) { return ( 62 * n * n - 60 * n ) / 2 ; } int main ( ) { int n = 3 ; cout << HexacontatetragonNum ( n ) ; return 0 ; }