Correlations of almost primes