4 added 57 characters in body
source | link

PowerShell,  159 135 128128 118 bytes

param($n);$a="$n$n$n";0..4|%{("$n$n$n","$n $n","  $n","$n  ";$r='01110333330203002020110220302003010022220101001020';0..4|%{$a[$r[$_+")['01110333330203002020110220302003010022220101001020'[$_+($n*5)]-48]}

Try it online! Current answer: removed extraneous variable naming

Try it online!

I'll have to see if I can get some tricks from the other answers :P

EDIT Getting smarter with calling the mega string

EDIT2 Switched to using a string of numbers to index into $a to save 7 bytes. Although I liked my previous dynamic variable name calls in the below code (135 bytes)

param($n);$a="$n$n$n";$b="$n $n";$c="  $n";$d="$n  ";$r="abbbadddddacadaacacabbaccadacaadabaaccccababaabaca";0..4|%{gv $r[$_+($n*5)]-v}

PowerShell,  159 135 128 bytes

param($n);$a="$n$n$n","$n $n","  $n","$n  ";$r='01110333330203002020110220302003010022220101001020';0..4|%{$a[$r[$_+($n*5)]-48]}

Try it online!

I'll have to see if I can get some tricks from the other answers :P

EDIT Getting smarter with calling the mega string

EDIT2 Switched to using a string of numbers to index into $a to save 7 bytes. Although I liked my previous dynamic variable name calls in the below code (135 bytes)

param($n);$a="$n$n$n";$b="$n $n";$c="  $n";$d="$n  ";$r="abbbadddddacadaacacabbaccadacaadabaaccccababaabaca";0..4|%{gv $r[$_+($n*5)]-v}

PowerShell,159 135 128 118 bytes

param($n);0..4|%{("$n$n$n","$n $n","  $n","$n  ")['01110333330203002020110220302003010022220101001020'[$_+($n*5)]-48]}

Current answer: removed extraneous variable naming

Try it online!

I'll have to see if I can get some tricks from the other answers :P

EDIT Getting smarter with calling the mega string

EDIT2 Switched to using a string of numbers to index into $a to save 7 bytes. Although I liked my previous dynamic variable name calls in the below code (135 bytes)

param($n);$a="$n$n$n";$b="$n $n";$c="  $n";$d="$n  ";$r="abbbadddddacadaacacabbaccadacaadabaaccccababaabaca";0..4|%{gv $r[$_+($n*5)]-v}
3 added 157 characters in body
source | link

PowerShell, 159 135135 128 bytes

param($n);$a="$n$n$n";$b="$n;$a="$n$n$n","$n $n";$c="$n","  $n";$d="$n$n","$n  ";$r="abbbadddddacadaacacabbaccadacaadabaaccccababaabaca";0";$r='01110333330203002020110220302003010022220101001020';0..4|%{gv $r[$_+$a[$r[$_+($n*5)]-v48]}

Try it online!Try it online!

I'll have to see if I can get some tricks from the other answers :P

EDIT Getting smarter with calling the mega string

EDIT2 Switched to using a string of numbers to index into $a to save 7 bytes. Although I liked my previous dynamic variable name calls in the below code (135 bytes)

param($n);$a="$n$n$n";$b="$n $n";$c="  $n";$d="$n  ";$r="abbbadddddacadaacacabbaccadacaadabaaccccababaabaca";0..4|%{gv $r[$_+($n*5)]-v}

PowerShell, 159 135 bytes

param($n);$a="$n$n$n";$b="$n $n";$c="  $n";$d="$n  ";$r="abbbadddddacadaacacabbaccadacaadabaaccccababaabaca";0..4|%{gv $r[$_+($n*5)]-v}

Try it online!

I'll have to see if I can get some tricks from the other answers :P

EDIT Getting smarter with calling the mega string

PowerShell, 159 135 128 bytes

param($n);$a="$n$n$n","$n $n","  $n","$n  ";$r='01110333330203002020110220302003010022220101001020';0..4|%{$a[$r[$_+($n*5)]-48]}

Try it online!

I'll have to see if I can get some tricks from the other answers :P

EDIT Getting smarter with calling the mega string

EDIT2 Switched to using a string of numbers to index into $a to save 7 bytes. Although I liked my previous dynamic variable name calls in the below code (135 bytes)

param($n);$a="$n$n$n";$b="$n $n";$c="  $n";$d="$n  ";$r="abbbadddddacadaacacabbaccadacaadabaaccccababaabaca";0..4|%{gv $r[$_+($n*5)]-v}
2 added 65 characters in body
source | link

PowerShell, 159159 135 bytes

param($n);$a="$n$n$n";$b="$n $n";$c="  $n";$d="$n  ";$r="abbba","ddddd","acada","acaca","bbacc","adaca","adaba","acccc","ababa","abaca";0";$r="abbbadddddacadaacacabbaccadacaadabaaccccababaabaca";0..4|%{gv $r[$n][$_]$r[$_+($n*5)]-v}

Try it online!Try it online!

I'll have to see if I can get some tricks from the other answers :P

EDIT Getting smarter with calling the mega string

PowerShell, 159 bytes

param($n);$a="$n$n$n";$b="$n $n";$c="  $n";$d="$n  ";$r="abbba","ddddd","acada","acaca","bbacc","adaca","adaba","acccc","ababa","abaca";0..4|%{gv $r[$n][$_]-v}

Try it online!

I'll have to see if I can get some tricks from the other answers :P

PowerShell, 159 135 bytes

param($n);$a="$n$n$n";$b="$n $n";$c="  $n";$d="$n  ";$r="abbbadddddacadaacacabbaccadacaadabaaccccababaabaca";0..4|%{gv $r[$_+($n*5)]-v}

Try it online!

I'll have to see if I can get some tricks from the other answers :P

EDIT Getting smarter with calling the mega string

1
source | link