Yes, (1, 2, 4, 8, 16,...) is a function and defined by
So, it is a function since each input is a natural number with a single output in the sequence.
9.5m questions
12.2m answers