text: Icositetragonal Number | Java program to find nth icositetragonal number ; Function to find icositetragonal number ; Formula to calculate nth icositetragonal number ; Driver code
code: import java . util . * ; class GFG { static int Icositetragonal_num ( int n ) { return ( 22 * n * n - 20 * n ) / 2 ; } public static void main ( String [ ] args ) { int n = 3 ; System . out . println ( Icositetragonal_num ( n ) ) ; n = 10 ; System . out . println ( Icositetragonal_num ( n ) ) ; } }