I like Julia and Python, however when I'm playing with doing math, or using paper, I like APL or J.
The above example in J:
3 3 $ i.9
0 1 23 4 5
6 7 8
3 3 $ >: i.9
1 2 34 5 6
7 8 9
J is 0-indexed. ">:" is the increment operator. APL allows you to set a parameter to do 1-indexed vs. 0-indexed.
APL:
3 3 ρ ι9
1 2 34 5 6
7 8 9
There is a Calculus text for learning it with J: