login
A048094
Number of nonempty subsets of {1,2,...,n} in which exactly 1/3 of the elements are <= sqrt(n).
1
0, 0, 1, 2, 6, 13, 25, 45, 91, 175, 322, 570, 975, 1617, 2607, 7425, 12753, 21385, 35065, 56302, 88638, 136986, 208050, 310840, 1251606, 1973706, 3065931, 4694921, 7092211, 10575635, 15576535, 22674015, 32637675, 46480475
OFFSET
1,4
LINKS
FORMULA
From Robert Israel, May 25 2026: (Start)
a(n) = Sum_{1 <= k <= s} binomial(s,k) * binomial(n-s,2*k)
= s*(n-s-1)*(n-s)*hypergeom([1, 1-s, -1/2*n+1/2*s+1, -1/2*n+1/2*s+3/2],[3/2,
2, 2],-1)/2
where s = floor(sqrt(n)).
(End)
MAPLE
f:= proc(n) local s, m;
s:= floor(sqrt(n));
add(binomial(s, m) * binomial(n-s, 2*m), m=1..s)
end proc:
map(f, [$1..100]); # Robert Israel, May 25 2026
CROSSREFS
Sequence in context: A281865 A267698 A065220 * A335439 A181522 A031872
KEYWORD
nonn
STATUS
approved