Table 2 from Greenhall 2004

def greenhall_table2(alpha, d):
    """ Table 2 from Greenhall 2004 """
    row_idx = int(-alpha+2) # map 2-> row0 and -4-> row6
    assert(row_idx in [0, 1, 2, 3, 4, 5])
    col_idx = int(d-1)
    table2 = [[(3.0/2.0, 1.0/2.0), (35.0/18.0, 1.0), (231.0/100.0, 3.0/2.0)], # alpha=+2
              [(78.6, 25.2), (790.0, 410.0), (9950.0, 6520.0)],
              [(2.0/3.0, 1.0/6.0), (2.0/3.0, 1.0/3.0), (7.0/9.0, 1.0/2.0)], # alpha=0
              [(-1, -1), (0.852, 0.375), (0.997, 0.617)], # -1
              [(-1, -1), (1.079, 0.368), (1.033, 0.607)], #-2
              [(-1, -1), (-1, -1), (1.053, 0.553)], #-3
              [(-1, -1), (-1, -1), (1.302, 0.535)], # alpha=-4
             ]
    #print("table2 = ", table2[row_idx][col_idx])
    return table2[row_idx][col_idx]