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!)
A212988 Number of (w,x,y) with all terms in {0,...,n} and 4*w = x+y. 2
1, 1, 2, 4, 7, 9, 12, 16, 21, 25, 30, 36, 43, 49, 56, 64, 73, 81, 90, 100, 111, 121, 132, 144, 157, 169, 182, 196, 211, 225, 240, 256, 273, 289, 306, 324, 343, 361, 380, 400, 421, 441, 462, 484, 507, 529, 552, 576, 601, 625, 650, 676, 703, 729, 756, 784 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
For a guide to related sequences, see A212959.
LINKS
FORMULA
a(n) = 2*a(n-1)-a(n-2)+a(n-4)-2*a(n-5)+a(n-6).
G.f.: f(x)/g(x), where f(x) = 1 - x + x^2 + x^3
and g(x) = (1 + x + x^2 + x^3)(1-x)^3.
MATHEMATICA
t = Compile[{{n, _Integer}}, Module[{s = 0}, (Do[If[4 w == x + y, s = s + 1], {w, 0, n}, {x, 0, n}, {y, 0, n}]; s)]];
m = Map[t[#] &, Range[0, 70]] (* A212988 *)
CROSSREFS
Cf. A212959.
Sequence in context: A024193 A064550 A186357 * A344290 A064491 A120878
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jun 04 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 24 19:59 EDT 2024. Contains 371963 sequences. (Running on oeis4.)