static String nthprimedigitsnumber ( int number ) {
  int rem ;
  String num = "" ;
  while ( number > 0 ) {
    rem = number % 4 ;
    switch ( rem ) {
      case 1 : num += '2' ;
      break ;
      case 2 : num += '3' ;
      break ;
      case 3 : num += '5' ;
      break ;
      case 0 : num += '7' ;
      break ;
    }
    if ( number % 4 == 0 ) number -- ;
    number = number / 4 ;
  }
  return new StringBuilder ( num ) . reverse ( ) . toString ( ) ;
}

static String nthprimedigitsnumber ( int number ) { int rem ; String num = " " ; while ( number > 0 ) { rem = number % 4 ; switch ( rem ) { case 1 : num += '2' ; break ; case 2 : num += '3' ; break ; case 3 : num += '5' ; break ; case 0 : num += '7' ; break ; } if ( number % 4 == 0 ) number -- ; number = number / 4 ; } return new StringBuilder ( num ) . reverse ( ) . toString ( ) ; }
(method_declaration (modifiers) type: (type_identifier) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (string_literal))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) body: (block (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (decimal_integer_literal)))) (switch_expression condition: (parenthesized_expression (identifier)) body: (switch_block (switch_block_statement_group (switch_label (decimal_integer_literal)) (expression_statement (assignment_expression left: (identifier) right: (character_literal))) (break_statement)) (switch_block_statement_group (switch_label (decimal_integer_literal)) (expression_statement (assignment_expression left: (identifier) right: (character_literal))) (break_statement)) (switch_block_statement_group (switch_label (decimal_integer_literal)) (expression_statement (assignment_expression left: (identifier) right: (character_literal))) (break_statement)) (switch_block_statement_group (switch_label (decimal_integer_literal)) (expression_statement (assignment_expression left: (identifier) right: (character_literal))) (break_statement)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (decimal_integer_literal)) right: (decimal_integer_literal))) consequence: (expression_statement (update_expression (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (decimal_integer_literal)))))) (return_statement (method_invocation object: (method_invocation object: (object_creation_expression type: (type_identifier) arguments: (argument_list (identifier))) name: (identifier) arguments: (argument_list)) name: (identifier) arguments: (argument_list)))))