Second | C # implementation to find N - th term in the series ; Function to find N - th term in the series ; Driver code
using System ; class GFG { static void findNthTerm ( int n ) { Console . Write ( Math . Pow ( 2 , n ) - 2 * n ) ; } public static void Main ( ) { int N = 4 ; findNthTerm ( N ) ; } }