def correction_byte_table_q() -> dict[int, int]:
    """Table of the number of correction bytes per block for the correction
    level Q.

    Returns:
        dict[int, int]: Dictionary of the form {version: number of correction
        bytes}
    """
    table = {
        1: 13, 2: 22, 3: 18, 4: 26, 5: 18, 6: 24, 7: 18, 8: 22, 9: 20, 10: 24,
        11: 28, 12: 26, 13: 24, 14: 20, 15: 30, 16: 24, 17: 28, 18: 28, 19: 26,
        20: 30, 21: 28, 22: 30, 23: 30, 24: 30, 25: 30, 26: 28, 27: 30, 28: 30,
        29: 30, 30: 30, 31: 30, 32: 30, 33: 30, 34: 30, 35: 30, 36: 30, 37: 30,
        38: 30, 39: 30, 40: 30
    }

    return table