On the infinite divisibility and non infinite divisibility of certain classes of random variables