Hello, mrtwigx!

Finding the formula can be quite a task . . . or quite simple.

Crank out the first few terms of the sequence andLet be a sequence of integers defined recursively by:

. .

Conjecture a formula for and prove it using mathematical induction.for a pattern:hope

. .

The term seems to be: .

Go for it!