(-1 + q)*q^(2 + n)*(1 + q)*(-1 + q^(5 + 3*n)*(1 + q^2) + 
   q^(6 + 4*n)*(1 + q^2 + q^4)) + q^(7 + 3*n)*f[n] - 
 q^(4 + n)*(q - q^n + (-1 - q)*q^(2 + 2*n) - q^(3 + 3*n) + q^(4 + 4*n))*
  f[1 + n] - (-1 + q)*(1 + q)*(-1 + q^(2 + n) + q^(4 + 2*n) + 
   q^(5 + 3*n)*(1 + q^2))*f[2 + n] + 
 q^(1 + n)*(1 - q^(5 + n) + (-1 - q)*q^(6 + 2*n) - q^(10 + 3*n) + 
   q^(13 + 4*n))*f[3 + n] - q^(7 + 3*n)*f[4 + n]
