I'm modeling viral growth for a product. Let's say user A brings (on average) the following number of users each day:
- day 1 = 0.5
- day 2 = 0.3
- day 3 = 0.4
- day 4 = 0.1
In turn, each user referred by A brings the same amount of users (i.e., 0.5, 0.3, 0.4, 0.1), but with a 1 day lag.
So, after 1 day, the number of users is just:
$0.5$
But after 2 days, the number of users is:
$0.5 + 0.3 + (0.5\times0.5)$
Because the first user that A brought, also brings users.
And after 3 days, the number of users is:
$0.5 + 0.3 + 0.4 + (0.5\times0.5) + (0.5\times0.3) + (0.3\times0.5) + (0.5\times0.5\times0.5)$
As you can see, after 3 days, the number of terms to be added is already quite big, because new users keep bringing new users.
How can I model the total number of users by the end of X days?
I found a similar question, but it's not the same, as in this question the growth is always decreasing.
Thanks a lot in advance!!!!