OFFSET
1,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..250
FORMULA
G.f.: (1-x)*Sum(x^(2*n-1)/((1-x)^n-x^n),n=1..infinity), First differences of A101510.
a(n) ~ log(2) * 2^(n-1). - Vaclav Kotesovec, May 01 2014
MAPLE
b:= proc(n, t, g) option remember; `if`(n=0,
`if`(irem(t, g)=0, 1, 0), add(b(n-i, t+1,
`if`(g=0, i, g)), i=1..n))
end:
a:= n-> b(n, 0, 0):
seq(a(n), n=1..40); # Alois P. Heinz, Dec 15 2009
MATHEMATICA
A101510[n_] := Sum[If[Mod[i+1, k+1] == 0, Binomial[n-k, i], 0], {k, 0, n/2}, {i, 0, n-k}]; A168655 = Join[{1}, Table[A101510[n], {n, 0, 32}] // Differences] (* Jean-François Alcover, Jan 24 2014 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Vladeta Jovovic, Dec 01 2009
EXTENSIONS
More terms from Alois P. Heinz, Dec 15 2009
STATUS
approved