Layered transition metal pnictides investigated by experimental and computational methods