Skip to main content
added 17 characters in body
Source Link
Jos Woolley
  • 1.9k
  • 2
  • 8

Excel, 77 72 bytes

=LET(
    a,INDIRECT(A1&":"&B1),
    b,ROWS(a),
    c,COLUMNS(a),
    OR(b=1,c=1,b=c,b*c=6)
)

Expects strings (e.g. "f4", "b8") in cells A1 and B1. Returns a Boolean.

Excel, 77 72 bytes

=LET(
    a,INDIRECT(A1&":"&B1),
    b,ROWS(a),
    c,COLUMNS(a),
    OR(b=1,c=1,b=c,b*c=6)
)

Expects strings (e.g. "f4", "b8") in cells A1 and B1.

Excel, 77 72 bytes

=LET(
    a,INDIRECT(A1&":"&B1),
    b,ROWS(a),
    c,COLUMNS(a),
    OR(b=1,c=1,b=c,b*c=6)
)

Expects strings (e.g. "f4", "b8") in cells A1 and B1. Returns a Boolean.

added 6 characters in body
Source Link
Jos Woolley
  • 1.9k
  • 2
  • 8

Excel, 7777 72 bytes

=LET(
    a,INDIRECT(A1&":"&B1),
    b,ROWS(a),
    c,COLUMNS(a),
    OR(b=1,c=1,b=c,b^2+c^2=13b*c=6)
)

Expects strings (e.g. "f4", "b8") in cells A1 and B1.

Excel, 77 bytes

=LET(
    a,INDIRECT(A1&":"&B1),
    b,ROWS(a),
    c,COLUMNS(a),
    OR(b=1,c=1,b=c,b^2+c^2=13)
)

Expects strings (e.g. "f4", "b8") in cells A1 and B1.

Excel, 77 72 bytes

=LET(
    a,INDIRECT(A1&":"&B1),
    b,ROWS(a),
    c,COLUMNS(a),
    OR(b=1,c=1,b=c,b*c=6)
)

Expects strings (e.g. "f4", "b8") in cells A1 and B1.

Source Link
Jos Woolley
  • 1.9k
  • 2
  • 8

Excel, 77 bytes

=LET(
    a,INDIRECT(A1&":"&B1),
    b,ROWS(a),
    c,COLUMNS(a),
    OR(b=1,c=1,b=c,b^2+c^2=13)
)

Expects strings (e.g. "f4", "b8") in cells A1 and B1.