Pattern4 using for loops

could you please solve pattern 4 using FOR loop.

see in each row generate a formula for nsp…and in each row there are row number of stars…
so make one for loop for the number of rows…and then in that for loop make two for loops-(one for nsp and other for nst)…try to code