Driver Code
var n = 6 ; document . write ( n + " " + " " ) ; document . write ( centeredoctagonalNumber ( n ) + " " ) ; n = 11 ; document . write ( n + " " + " " ) ; document . write ( centeredoctagonalNumber ( n ) ) ;