static int nthTerm ( int n ) {
  return 7 * ( int ) Math . pow ( n , 2 ) - 7 * n + 7 ;
}

static int nthTerm ( int n ) { return 7 * ( int ) Math . pow ( n , 2 ) - 7 * n + 7 ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (return_statement (binary_expression left: (binary_expression left: (binary_expression left: (decimal_integer_literal) right: (cast_expression type: (integral_type) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier) (decimal_integer_literal))))) right: (binary_expression left: (decimal_integer_literal) right: (identifier))) right: (decimal_integer_literal)))))