Perry buys a bag of 20 carrots on the first day. The second day, he eats half of the bag. Each day after, he eats half of what is left in the bag.Each day after, he eats half of what is left in the bag. Create a sequence formula that describes the number of carrots Perry will have on any given day.

Let's break down the number of carrots Perry will have on each day:

On the first day, Perry has 20 carrots in the bag.
On the second day, he eats half of the bag, so he has 20/2 = 10 carrots left.
On the third day, he eats half of what is left, so he has 10/2 = 5 carrots left.
On the fourth day, he eats half of what is left, so he has 5/2 = 2.5 carrots left, but since we can't have half a carrot, let's assume that Perry either eats the remaining half or splits the carrot into two smaller pieces. So, on the fourth day, he has 2 carrots left.
On the fifth day, he eats half of what is left, so he has 2/2 = 1 carrot left.
On the sixth day, he eats half of what is left, so he has 1/2 = 0.5 carrots left, but once again, let's assume this either gets eaten or split in half. So, on the sixth day, he has 0 carrots left.
Therefore, the sequence of the number of carrots Perry will have on any given day is as follows:
20, 10, 5, 2, 2, 1, 0