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