0
Challenge
Write a function/program that outputs either the n'th element, or the first n elements, in the well known number sequence:
1, 2, 4, 8, 16 ...
Oh, wait... I forgot the first few numbers:
1, 1, 1, 1, 2, 4, 8, 16 ...
Heck, I'll add a few more for good measure:
1, 1, 1, 1, ...