Driver Code
var n = 3 ; document . write ( n + " " + " " ) ; document . write ( center_octadecagon_num ( n ) + " " ) ; n = 13 ; document . write ( n + " " + " " ) ; document . write ( center_octadecagon_num ( n ) ) ;