Hi, it is a bit difficult to follow the post as is, can you format both math and code?
Discourse supports both code (either inline with a single backtick `, or block code with three backticks) and math (using latex notation between $ so that $t_i$ is rendered as t_i).
You should have also gotten a private message from discobot, answering and following it instructions aims to be a hands on tutorial for new users about the main Discourse features like these two.