```Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!k8g2000yqn.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: making non integer values sum to n
Date: Thu, 20 Nov 2008 17:28:19 -0800 (PST)
Lines: 19
References: <17829314.1227222052740.JavaMail.jakarta@nitrogen.mathforum.org>
NNTP-Posting-Host: 75.186.70.56
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1227230900 8825 127.0.0.1 (21 Nov 2008 01:28:20 GMT)
NNTP-Posting-Date: Fri, 21 Nov 2008 01:28:20 +0000 (UTC)
posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
Trident/4.0),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:502208

On Nov 20, 6:00=A0pm, Tim Smith <imaccorm...@gmail.com> wrote:
> Sorry for previous post it was slightly incorrect:
> Can anyone help me with this problem
>
> where n is divisible by 4 and n,a,b are any real integers such that a+b<(=
n/2)
>
> i need to create a statement such that:
>
> integer((n-a-b)/4) + a + integer((n-a-b)/2) + b + integer((n-a-b)/2) =3D =
n
>
> can anyone help?

------------------------------------------------------------
Why not just do a brute force iteration over all possible combinations
of integers n, a,and b?  I'm sure you'll get a whole boat load of
numbers - more than you could possibly want.  You could probably get
millions of sets in a few seconds.  Have at it.
```