OFFSET
1,3
LINKS
EXAMPLE
L(7)= (1/(7-1)!) * [ 7^(7-1) -{-1+2*(7-2)+3*C(7-2,2)}*7^(7-2) +{2+15*(7-3)+51*C(7-3,2)+65*C(7-3,3) +27*C(7-3,4)}*7^(7-3) -{-6+148*(7-4)+945*C(7-4,2)+2292*C(7-4,3)}*7^(7-4) +... ]
= (1/6!) * [ 7^6 -{-1+10+30}*7^5 +{2+60+306+260+27}*7^4 -{-6+444+2835+2292}*7^3 +{24+4580+19580}*7^2 -{-120+41676}*7 +{720} ] = (1/6!) * [ 7^6 -39*7^5 +655*7^4 -5565*7^3 +24184*7^2 -41556*7 +720 ]
= (1/720) * [ 117649 -655473 +1572655 -1908795 +1185016 -290892 +720 ] = 20880/720 = 29.
CROSSREFS
KEYWORD
AUTHOR
André F. Labossière, Nov 30 2004
STATUS
approved