41
3
Your task is to output a Magical 8 Trapezium:
1 × 8 + 1 = 9
12 × 8 + 2 = 98
123 × 8 + 3 = 987
1234 × 8 + 4 = 9876
12345 × 8 + 5 = 98765
123456 × 8 + 6 = 987654
1234567 × 8 + 7 = 9876543
12345678 × 8 + 8 = 98765432
123456789 × 8 + 9 = 987654321
- Output in your chosen language in the fewest bytes possible.
- Note the number of spaces at the start of each line to maintain the trapezium shape.
- Trailing spaces are allowed.
- You can use
×
or the letter x - whichever you prefer.
1Related. (slightly...) – Martin Ender – 2016-07-25T16:04:30.780
Middle spaces are required, yes? – Value Ink – 2016-07-25T18:11:38.653
@KevinLau-notKenny it is, but you could always post an alternative too if it's significant. – rybo111 – 2016-07-25T18:49:58.080
It's 6 bytes corresponding to the 6 spaces in the middle, so no, I don't think it's significant enough. – Value Ink – 2016-07-25T19:23:23.410