|
|
A321986
|
|
Number of integer pairs (x,y) with x+y < 3*n/4, x-y < 3*n/4 and -x/2 < y < 2*x.
|
|
1
|
|
|
0, 0, 1, 3, 3, 5, 9, 14, 14, 19, 26, 34, 34, 42, 52, 63, 63, 74, 87, 101, 101, 115, 131, 148, 148, 165, 184, 204, 204, 224, 246, 269, 269, 292, 317, 343, 343, 369, 397, 426, 426
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,4
|
|
COMMENTS
|
The Comtet formula for I(n) = round(9*n^2+18-n*b(n)/16) with b(n)=bar(7,4,1,10) with period 4, is missing divisors (32?) somewhere.
|
|
REFERENCES
|
L. Comtet, Advanced Combinatorics (Reidel, 1974), page 122, exercise 19 sequence (2).
|
|
LINKS
|
|
|
FORMULA
|
G.f.: -x^2*(x^2 - x + 1)*(x^5 + x^4 + x^3 + 2*x^2 + 3*x + 1) / ( (1+x)^2*(x^2+1)^2*(x-1)^3 ).
|
|
EXAMPLE
|
The 3 solutions for n=3 or n=4 are (x,y)=(1,0), (1,1), (2,0).
|
|
MAPLE
|
if type (n, 'odd') then
0;
else
(-1)^(n/2) ;
end if;
end proc:
1+iquo(n, 2) ;
end proc:
if n =0 then
0;
else
%/32 ;
end if;
end proc:
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy,less
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|