How to copy a cell in Google Sheets n times in adjacent cells of the row when n=the value of the cell?

There is an array of type:
You need to fill in the value of the second cell of the row n left neighboring cells, where n = the value of the first cell of the row.
Example desired result:
Is it possible to solve this task without plugins, only some built-in tools GSheets?
April 7th 20 at 15:47
1 answer
April 7th 20 at 15:49
Formula with SLIPT seems reasonable



Also supports ARRAYFORMULA


Table with example.


Find more questions by tags Google Sheets