If I have a list of numbers starting with four numbers, the list doubles in size after each iteration, how would I calculate how take to have a list of exactly n elements long? Thanks
2026-05-16 05:18:13.1778908693
Calculating how many iterations to make a list that doubles each iteration, n elements long
501 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
After $n$ iterations, you have $4\cdot 2^n$ elements. If you want to have $N$ elements, $N=4\cdot 2^n, \log_2 N=2+n$