A-nacci Sequence is a problem from BGcoder.com