OFFSET
0,3
COMMENTS
Also number of partitions of n, with one kind of 1, 2 and 3 and two kinds of 4, 5, 6, ... .
Number of n-vertex graphs that do not contain a triangle or claw as induced subgraph (there is one connected triangle-free claw-free graph with 1 to 3 vertices each, and two for n >= 4 vertices (P_n and C_n)). - Falk Hüffner, Jan 11 2016
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..10000
N. J. A. Sloane, Transforms
FORMULA
G.f.: (1-x)(1-x^2)(1-x^3) Product_{i>=1} 1/(1-x^i)^2.
EULER transform of 1, 1, 1, 2, 2, 2, ... .
MAPLE
a:= proc(n) a(n):= `if`(n=0, 1, add(add(d*`if`(d<4, 1, 2), d=numtheory[divisors(j)) *a(n-j), j=1..n)/n) end: seq(a(n), n=0..50); # Alois P. Heinz, Sep 26 2012
MATHEMATICA
nn=40; a=x/(1-2x); p=Product[1/(1- x^i)^2, {i, 1, nn}]; CoefficientList[Series[p(1-x)(1-x^2)(1-x^3), {x, 0, nn}], x]
PROG
(PARI) list(lim)=Vec((1-x)*(1-x^2)*(1-x^3)*prod(i=1, lim\=1, 1/(1-x^i)^2, O(x^lim++)+1)) \\ Charles R Greathouse IV, Sep 26 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Geoffrey Critzer, Sep 26 2012
STATUS
approved