Bernoulli Distribution - Defining 'p'

1) This is where it all started:[br][br]2) This shows how I now have calculated what 'p' equals: So to obtain Integers with the expression below.
move slider
When integrating the Integral 2^p(1-p) must be integrated in terms of 'x': 2^x(1-x) = 2.53

Information: Bernoulli Distribution - Defining 'p'