OFFSET
0,3
COMMENTS
Diagonal sums of A104878.
FORMULA
a(0)=1, a(1)=1, a(n)=n+sum{k=2..floor(n/2), (k^(n-2k+1)-1)/(k-1)}, n>1.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Mar 28 2005
STATUS
approved