OFFSET
1,3
FORMULA
G.f.: Sum_{k>=1} ((x^(k+1)-x)^k - (x^k-x)^k)/(x-1)^k.
EXAMPLE
a(7)=10 because we have 223, 232, 322, 133, 313, 331, 1114, 1141, 1411 and 4111.
MAPLE
G:=sum(((x^(k+1)-x)^k-(x^k-x)^k)/(x-1)^k, k=1..25):Gser:=series(G, x=0, 45):seq(coeff(Gser, x^n), n=1..42); # Emeric Deutsch, Apr 16 2005
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Vladeta Jovovic, Sep 25 2004
EXTENSIONS
More terms from Emeric Deutsch, Apr 16 2005
STATUS
approved