OFFSET
0,3
COMMENTS
The even-indexed terms a(2*n) count the compositions of n+2 into odd parts while the odd-indexed terms a(2*n+3) count the total number of parts in the compositions of n+2 into odd parts.
FORMULA
EXAMPLE
The compositions of 5 into odd parts are 1+1+1+1+1, 1+1+3, 1+3+1, 3+1+1 and 5. Hence a(6) = 5 and a(9) = 15.
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Peter Bala, Apr 05 2012
STATUS
approved