Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
#Mathematica 10 44
Edit
My first response was based on a misunderstanding about the nature of the challenge, as noted by Ilmari. Here's another try.
Usage
f[n___, 1, n___] := n - 1; j_~f~k_ := BitXor[j - 1, k - 1]
#Mathematica 1010 44
m[[#, #2]] &
m = {{13, 10, 4, 0}f[n___, {31, 12,n___] 7,:= 8},n {15,- 1,1; j_~f~k_ 14,:= 6},BitXor[j {9,- 21, 11,k 5}} m[[#,- #2]]&[2,3]1]
7
#Mathematica 10
m = {{13, 10, 4, 0}, {3, 12, 7, 8}, {15, 1, 14, 6}, {9, 2, 11, 5}} m[[#, #2]]&[2,3]
Explanation
m[[#, #2]]&[2,3] is a shortened form of Part[m,{2,3}], which gives the contents of the second row, third column.
m[[#, #2]]&[2,3]
Part[m,{2,3}]