Hilbert Number | C # program to find nth hilbert Number ; Utility function to return Nth Hilbert Number ; Driver code
using System ; class GFG { static long nthHilbertNumber ( int n ) { return 4 * ( n - 1 ) + 1 ; } public static void Main ( ) { int n = 5 ; Console . WriteLine ( nthHilbertNumber ( n ) ) ; } }