The challenge
The shortest code, by character count to output an ASCII representation of Sierpinski s Triangle of N iterations made from the following ASCII triangle:
/
/__
Input is a single positive number.
Test cases
Input:
2
Output:
/
/__
/ /
/__/__
Input:
3
Output:
/
/__
/ /
/__/__
/ /
/__ /__
/ / / /
/__/__/__/__
Input:
5
Output:
/
/__
/ /
/__/__
/ /
/__ /__
/ / / /
/__/__/__/__
/ /
/__ /__
/ / / /
/__/__ /__/__
/ / / /
/__ /__ /__ /__
/ / / / / / / /
/__/__/__/__/__/__/__/__
/ /
/__ /__
/ / / /
/__/__ /__/__
/ / / /
/__ /__ /__ /__
/ / / / / / / /
/__/__/__/__ /__/__/__/__
/ / / /
/__ /__ /__ /__
/ / / / / / / /
/__/__ /__/__ /__/__ /__/__
/ / / / / / / /
/__ /__ /__ /__ /__ /__ /__ /__
/ / / / / / / / / / / / / / / /
/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__
Code count includes input/output (i.e full program).