Topological Invariants and Solutions with a High Complexity for Scalar Semilinear PDE