65537 | Java program for above approach ; Function to find the nth 65537 - gon Number ; Driver code
class GFG { static int gonNum65537 ( int n ) { return ( 65535 * n * n - 65533 * n ) / 2 ; } public static void main ( String [ ] args ) { int n = 3 ; System . out . print ( gonNum65537 ( n ) ) ; } }