Diffractive pattern of the ideal attosecond pulse with five optical cycles (a) and ten optical cycles (b).