def easter_date(y):
    """Returns date of easter sunday computed by Spencer Jones algorithm as
       given by Jean Meeus: Astronomical Algorithms.

       >>> easter_date (1818)
       (1818, 3, 22)
       >>> easter_date (1943)
       (1943, 4, 25)
       >>> easter_date (1981)
       (1981, 4, 19)
       >>> easter_date (2008)
       (2008, 3, 23)
       >>> easter_date (2011)
       (2011, 4, 24)
       >>> easter_date (2038)
       (2038, 4, 25)
    """
    a = y % 19
    b, c = divmod(y, 100)
    d, e = divmod(b, 4)
    f = (b + 8) // 25
    g = (b - f + 1) // 3
    h = (19 * a + b - d - g + 15) % 30
    i, k = divmod(c, 4)
    l = (32 + 2 * e + 2 * i - h - k) % 7
    m = (a + 11 * h + 22 * l) // 451
    n, p = divmod(h + l - 7 * m + 114, 31)
    return y, n, p + 1
