Second decagonal numbers | Java program for the above approach ; Function to find N - th term in the series ; Driver code
class GFG { static void findNthTerm ( int n ) { System . out . println ( n * ( 4 * n + 3 ) ) ; } public static void main ( String [ ] args ) { int N = 4 ; findNthTerm ( N ) ; } }