4 replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/

printf %s\\n x={2..32}\;y={2..32}\;x^y+y^x|bc|sort -nu|sed $1!d  1-based indexing. It looks like this is pretty much the same approach as @TimmyD's answer@TimmyD's answer. Instead of nested loops, bash brace expansion is used to generate arithmetic expressions that are piped to bc for evaluation. Ideone. # Bash + GNU utilities, 63 printf %s\\n x={2..32}\;y={2..32}\;x^y+y^x|bc|sort -nu|sed$1!d


1-based indexing. It looks like this is pretty much the same approach as @TimmyD's answer. Instead of nested loops, bash brace expansion is used to generate arithmetic expressions that are piped to bc for evaluation.

Ideone.

printf %s\\n x={2..32}\;y={2..32}\;x^y+y^x|bc|sort -nu|sed $1!d  1-based indexing. It looks like this is pretty much the same approach as @TimmyD's answer. Instead of nested loops, bash brace expansion is used to generate arithmetic expressions that are piped to bc for evaluation. Ideone. 3 added 16 characters in body # Bash + GNU utilities, 63 printf %s\\n x={2..32}\;y={2..32}\;x^y+y^x|bc|sort -nu|sed$1!d


1-based indexing. It looks like this is pretty much the same approach as @TimmyD's answer. Instead of nested loops, bash brace expansion is used to generate arithmetic expressions that are piped to bc for evaluation.

Ideone.

printf %s\\n x={2..32}\;y={2..32}\;x^y+y^x|bc|sort -nu|sed $1!d  1-based indexing. It looks like this is pretty much the same approach as @TimmyD's answer. Instead of nested loops, bash brace expansion is used to generate arithmetic expressions that are piped to bc for evaluation. Ideone. # Bash + GNU utilities, 63 printf %s\\n x={2..32}\;y={2..32}\;x^y+y^x|bc|sort -nu|sed$1!d


1-based indexing. It looks like this is pretty much the same approach as @TimmyD's answer. Instead of nested loops, bash brace expansion is used to generate arithmetic expressions that are piped to bc for evaluation.

Ideone.

2 added 210 characters in body

printf %s\\n x={2..32}\;y={2..32}\;x^y+y^x|bc|sort -nu|sed $1!d  1-based indexing. It looks like this is pretty much the same approach as @TimmyD's answer. Instead of nested loops, bash brace expansion is used to generate arithmetic expressions that are piped to bc for evaluation. Ideone. # Bash, 63 printf %s\\n x={2..32}\;y={2..32}\;x^y+y^x|bc|sort -nu|sed$1!d


# Bash, 63

printf %s\\n x={2..32}\;y={2..32}\;x^y+y^x|bc|sort -nu|sed \$1!d


1-based indexing. It looks like this is pretty much the same approach as @TimmyD's answer. Instead of nested loops, bash brace expansion is used to generate arithmetic expressions that are piped to bc for evaluation.

Ideone.

1