A generalisation of geometric distribution