We discuss for an affine variety Y embedded in affine space X two sets of integers attached to Y ⊆ X via local and de Rham cohomology spectral sequences. We give topological interpretations, study them in small dimension, and investigate to what extent one can attach them to projective varieties.