23 < 2n < 26
=> 3 < n < 6
=> n \(\in\){4 ; 5}
25 < 5n < 625
=> 52 < 5n < 54
=> 2 < n < 4
=> n = 3
a) \(2^3< 2^n< 2^6\)
\(\Rightarrow3< n< 6\)
\(\Rightarrow n\in\left\{4;5\right\}\)
b) \(25< 5^n< 625\)
\(\Rightarrow5^2< 5^n< 5^4\)
\(\Rightarrow2< n< 4\)
\(\Rightarrow n=3\)