Skip to main content
deleted 4 characters in body
Source Link
LegionMammal978
  • 18k
  • 4
  • 25
  • 57

Mathematica, 123 122122 121 bytes

"\\"
""<>(#<>"
"&/@Normal@SparseArray[{{i_,j_}/;2∣(i+j)&&i+j<2#+3->"/",{i_,1}/;2∣i->%,{1,j_}/;2∣j;i~Min~j<2&&2∣i~Max~j->%>"\\"},{2#,2#}," "])&

Could probably be golfed further.

Mathematica, 123 122 bytes

"\\"
""<>(#<>"
"&/@Normal@SparseArray[{{i_,j_}/;2∣(i+j)&&i+j<2#+3->"/",{i_,1}/;2∣i->%,{1,j_}/;2∣j->%},{2#,2#}," "])&

Could probably be golfed further.

Mathematica, 123 122 121 bytes

""<>(#<>"
"&/@Normal@SparseArray[{{i_,j_}/;2∣(i+j)&&i+j<2#+3->"/",{i_,j_}/;i~Min~j<2&&2∣i~Max~j->"\\"},{2#,2#}," "])&

Could probably be golfed further.

added 10 characters in body
Source Link
LegionMammal978
  • 18k
  • 4
  • 25
  • 57

Mathematica, 123123 122 bytes

"\\"
""<>(#<>"
"&/@Normal@SparseArray[{{i_,j_}/;2∣(i+j)&&i+j<=2#+2&&i+j<2#+3->"/",{i_,1}/;2∣i->%,{1,j_}/;2∣j->%},{2#,2#}," "])&

Could definitelyprobably be golfed further.

Mathematica, 123 bytes

"\\"
""<>(#<>"
"&/@Normal@SparseArray[{{i_,j_}/;2∣(i+j)&&i+j<=2#+2->"/",{i_,1}/;2∣i->%,{1,j_}/;2∣j->%},{2#,2#}," "])&

Could definitely be golfed further.

Mathematica, 123 122 bytes

"\\"
""<>(#<>"
"&/@Normal@SparseArray[{{i_,j_}/;2∣(i+j)&&i+j<2#+3->"/",{i_,1}/;2∣i->%,{1,j_}/;2∣j->%},{2#,2#}," "])&

Could probably be golfed further.

Source Link
LegionMammal978
  • 18k
  • 4
  • 25
  • 57

Mathematica, 123 bytes

"\\"
""<>(#<>"
"&/@Normal@SparseArray[{{i_,j_}/;2∣(i+j)&&i+j<=2#+2->"/",{i_,1}/;2∣i->%,{1,j_}/;2∣j->%},{2#,2#}," "])&

Could definitely be golfed further.