2.II.11F
Dipkomsky, a desperado in the wild West, is surrounded by an enemy gang and fighting tooth and nail for his survival. He has guns, , pointing in different directions and tries to use them in succession to give an impression that there are several defenders. When he turns to a subsequent gun and discovers that the gun is loaded he fires it with probability and moves to the next one. Otherwise, i.e. when the gun is unloaded, he loads it with probability or simply moves to the next gun with complementary probability . If he decides to load the gun he then fires it or not with probability and after that moves to the next gun anyway.
Initially, each gun had been loaded independently with probability . Show that if after each move this distribution is preserved, then . Calculate the expected value and variance Var of the number of loaded guns under this distribution.
[Hint: it may be helpful to represent as a sum of random variables taking values 0 and 1.]