Icosikaipentagon Number | Java program to find N - th icosikaipentagon number ; Function to find the nth icosikaipentagon number ; Driver code
class GFG { static int icosikaipentagonNum ( int N ) { return ( 23 * N * N - 21 * N ) / 2 ; } public static void main ( String [ ] args ) { int n = 3 ; System . out . print ( "3rd ▁ icosikaipentagon ▁ Number ▁ is ▁ " + icosikaipentagonNum ( n ) ) ; } }