code: public static Version getProvisionalVersionForDimension(int dimension) throws FormatException {
      if (dimension % 4 != 1) {
        throw FormatException.getFormatInstance();
      }
      try {
        return getVersionForNumber((dimension - 17) / 4);
      } catch (IllegalArgumentException ignored) {
        throw FormatException.getFormatInstance();
      }
    }
docs: <p>Deduces version information purely from QR Code dimensions.</p>
  
  @param dimension dimension in modules
  @return Version for a QR Code of that dimension
  @throws FormatException if dimension is not 1 mod 4