modified fibonacci sequence