The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A296303 Number of minimal nonnegative nonzero solutions of the linear Diophantine equation x_1 + 2*x_2 + ... + n*x_n = y_1 + 2*y_2 + ... + n*y_n. 0
1, 4, 13, 34, 99, 210, 559, 1164, 2531, 4940, 10735 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Every linear Diophantine equation with arbitrary integer coefficients may be reduced to this one.
The minimal nonnegative nonzero solutions form a generating system of the semigroup of all nonnegative solutions.
The asymptotic behavior of a(n) is unknown, it is somewhere between a*exp(b*sqrt(n))/(sqrt(n)) and c*exp(d*n)/n with positive real numbers a,b,c,d.
A096337 contains the number of minimal nonnegative nonzero solutions of the linear congruence x_1 + 2 x_2 + ... + (n-1) x_{n-1} == 0 (mod n). There is an obvious relation with a(n) since every solution (x_1, ..., x_{n-1}) of the linear congruence yields a solution (x_1, ..., x_{n-1}; 0, 0, ..., 0, k) of the linear Diophantine equation.
LINKS
M. Clausen, A. Fortenbacher, Efficient solution of linear Diophantine equations, J. Symbolic Comput. 8 (1989), 201-216.
D. V. Pasechnik, On computing Hilbert bases via the Elliott-MacMahon algorithm, Theor. Comp. Sc. 263 (2001), 37-46.
FORMULA
Lower and upper bounds (proved) are a(n) >= 2*A026905(n) for n >= 3 and a(n) <= A002894(n-1).
EXAMPLE
The 13 minimal solutions for n=3 are (x-coordinates followed by y-coordinates): (0,0,1;0,0,1), (0,0,1;1,1,0), (0,0,1;3,0,0), (0,0,2;0,3,0), (0,1,0;0,1,0), (0,1,0;2,0,0), (0,2,0;1,0,1), (0,3,0;0,0,2), (1,0,0;1,0,0), (1,0,1;0,2,0), (1,1,0;0,0,1), (2,0,0;0,1,0), (3,0,0;0,0,1).
PROG
(Python) See Pommerening link.
CROSSREFS
Sequence in context: A357284 A208740 A127981 * A089453 A057159 A189588
KEYWORD
nonn,hard,more
AUTHOR
Klaus Pommerening, Dec 10 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 7 00:43 EDT 2024. Contains 373140 sequences. (Running on oeis4.)