We analyze the number N of functionally independent generalized Casimir invariants for non-semisimple Lie algebras s − → ⊕ R r with Levi factors isomorphic to so (3) and sl (2, R) in dependence of the pair (R, r) formed by a representation R of s and a solvable Lie algebra r. We show that for any dimension n ≥ 6 there exist Lie algebras s − → ⊕ Rr with non-trivial Levi decomposition such that N s − → ⊕ Rr = 0.