A math question

Then there’s other notations:

x*3^4

And JavaScript

x*3**4

But also there’s APL:

('Marquise' 'Imperial' 'Flawless Imperial' 'Royal' 'Flawless Royal'){⍉3 ⍵⍴⍺,(⍳⍵),(3*¯1+⍳⍵)}5

Which gives

 Marquise           1  1
 Imperial           2  3
 Flawless Imperial  3  9
 Royal              4 27
 Flawless Royal     5 81

:nerd_face:

Edit: I went and installed Dyalog APL (with my ten year old, valid serial number!) and all the keyboards on my new laptop just to make this post.

4 Likes