Find a node by number:  
  

if((int)$_GET['n']) {
$i = (int)($_GET['n']);
if(node_load($i)) {
drupal_goto(sprintf("node/%d", (int)($_GET['n'])));
} else {
echo "Node #{$i} does not exist.";
}
}
?>