OFFSET
1,3
COMMENTS
Assistance in extending sequence given by Gerald McGarvey
Fieggen's site has pictures of aglets (and hints on repairing them). - N. J. A. Sloane May 16 2005
LINKS
Ian Fieggen, Aglet repair
EXAMPLE
a(2)=2 because given 2 shoelaces, p=1/3 that the first two aglets picked up will be on a single shoelace, requiring another pick-up and p=2/3 that they won't, so the mean no. of pick-ups is (1/3)*2 + (2/3)*1 = 4/3, for which the ceiling is 2.
PROG
(PARI) choose(n, k)=gamma(n+1)/(gamma(n-k+1)*gamma(k+1)) a(n)=ceil(solve(x=n/2, n, 2^(2*(n-x))*choose(n, 2*(n-x))-(1/2)*choose(2*n, 2*x))) for(n=3, 50, print1(a(n), ", ")) (McGarvey)
CROSSREFS
KEYWORD
nonn
AUTHOR
Neil Fernandez, May 16 2005
EXTENSIONS
More terms from Gerald McGarvey, May 17 2005
STATUS
approved
