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!)
A212747 Number of (w,x,y,z) with all terms in {0,...,n} and 2w=floor((x+y+z)/2). 1
1, 4, 13, 32, 63, 108, 171, 256, 365, 500, 665, 864, 1099, 1372, 1687, 2048, 2457, 2916, 3429, 4000, 4631, 5324, 6083, 6912, 7813, 8788, 9841, 10976, 12195, 13500, 14895, 16384, 17969, 19652, 21437, 23328, 25327, 27436, 29659, 32000 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
For a guide to related sequences, see A211795.
LINKS
FORMULA
a(n)=4*a(n-1)-7*a(n-2)+8*a(n-3)-7*a(n-4)+4*a(n-5)-a(n-6).
G.f.: (1 + 4*x^2 + x^4)/((1 - x)^4 * (1 + x^2)).
MATHEMATICA
t = Compile[{{n, _Integer}}, Module[{s = 0},
(Do[If[2 w == Floor[(x + y + z)/2], s = s + 1],
{w, 0, n}, {x, 0, n}, {y, 0, n}, {z, 0, n}]; s)]];
Map[t[#] &, Range[0, 45]] (* A212747 *)
CROSSREFS
Cf. A211795.
Sequence in context: A272510 A036487 A184632 * A011936 A037235 A363256
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 28 2012
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 April 25 09:19 EDT 2024. Contains 371967 sequences. (Running on oeis4.)