Hexacontatetragon numbers | Java program to find N - th Hexacontatetragon number ; Function to find the nth Hexacontatetragon number ; Driver code
class GFG { static int HexacontatetragonNum ( int n ) { return ( 62 * n * n - 60 * n ) / 2 ; } public static void main ( String [ ] args ) { int n = 3 ; System . out . print ( HexacontatetragonNum ( n ) ) ; } }