OFFSET
6,2
LINKS
Eric Weisstein's MathWorld, Wilcoxon Signed Rank Test
Wikipedia, Wilcoxon signed-rank test
FORMULA
G.f. for partitions limited to sample size is product_{r=1..s} (1 + x^r).
MATHEMATICA
g[x_, 1] := x + 1; g[x_, s_] := g[x, s] = (x^s + 1)*g[x, s - 1]; WilcoxonT[s_, p_] := Module[{m = (2^s*p)/100, cum = Accumulate[CoefficientList[g[x, s], x]], i = 0}, Scan[If[# > m, Return[i - 1], i++] & , cum]]; Table[WilcoxonT[s, 2.5], {s, 6, 100}] (* coded after Peter Mitic *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jean-François Alcover, Jun 04 2013
STATUS
approved