This fractal is based on squares pattern below:

A city's population is \(p\) and increasing at a rate \(r\) every year. For example Antalya's population was 1.800.000 in 2008 and increased at a rate of 0.12 (i.e. 12%) every year.

Write a function to find expected population in \(n\ge 0\) years from now given current population \(p\ge 0\) and increase rate $ r <ge 0$.