@Adám You can use a negative sign even if it's a zero, but I hear you that the notation is not negating only the degree part. Maybe it's better to have an extra coordinate with the sign. so ¯1 42 7 30 or 1 42 7 30.
This is basically a variant of @LdBeth's suggestion.
Fair enough. My preference would be to hew as closely to what seems standard. I guess it might be worth considering whether there are any operations that might be performed on the values. Your way might work better if you're meant to add coordinates.
> Write a function that takes an integer right argument representing the order of the Pascal’s triangle to be created and returns a “nicely” formatted character matrix with the lines being centered.
Can't copy my solution now, but I formatted each line, determined the length of it and appended spaces depending on the length of the longest line. Not a very nice solution however.
I was thinking about how to get rid of the zeros and came up with ... drumroll ... {(-⌽0,⍳⍵)↓¨↓⍉∘.!⍨0,⍳⍵}. Of course you can just ~0! I always forget about ~ for some reason