static void LegendreConjecture ( int n ) {
  System . out . println ( "Primes in the range " + n * n + " and " + ( n + 1 ) * ( n + 1 ) + " are:" ) ;
  for ( int i = n * n ;
  i <= ( ( n + 1 ) * ( n + 1 ) ) ;
  i ++ ) {
    if ( isprime ( i ) ) System . out . println ( i ) ;
  }
}

static void LegendreConjecture ( int n ) { System . out . println ( " Primes ▁ in ▁ the ▁ range ▁ " + n * n + " ▁ and ▁ " + ( n + 1 ) * ( n + 1 ) + " ▁ are : " ) ; for ( int i = n * n ; i <= ( ( n + 1 ) * ( n + 1 ) ) ; i ++ ) { if ( isprime ( i ) ) System . out . println ( i ) ; } }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (string_literal) right: (binary_expression left: (identifier) right: (identifier))) right: (string_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))))) right: (string_literal))))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (identifier)))) condition: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal)))))) update: (update_expression (identifier)) body: (block (if_statement condition: (parenthesized_expression (method_invocation name: (identifier) arguments: (argument_list (identifier)))) consequence: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (identifier)))))))))