login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A211522 Number of ordered triples (w,x,y) with all terms in {1,...,n} and w + 5y = 2x. 2
0, 0, 0, 1, 2, 3, 4, 6, 8, 11, 13, 16, 19, 23, 27, 31, 35, 40, 45, 51, 56, 62, 68, 75, 82, 89, 96, 104, 112, 121, 129, 138, 147, 157, 167, 177, 187, 198, 209, 221, 232, 244, 256, 269, 282, 295, 308, 322, 336, 351, 365, 380, 395, 411, 427, 443, 459, 476 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,5

COMMENTS

For a guide to related sequences, see A211422.

LINKS

Colin Barker, Table of n, a(n) for n = 0..1000

Index entries for linear recurrences with constant coefficients, signature (1,1,-1,0,1,-1,-1,1).

FORMULA

a(n) = a(n-1) + a(n-2) - a(n-3) + a(n-5) - a(n-6) - a(n-7) + a(n-8).

G.f.: x^3*(1 + x + x^4) / ((1 - x)^3*(1 + x)*(1 + x + x^2 + x^3 + x^4)). - Colin Barker, Dec 02 2017

MATHEMATICA

t[n_] := t[n] = Flatten[Table[w - 2 x + 5 y, {w, 1, n}, {x, 1, n}, {y, 1, n}]]

c[n_] := Count[t[n], 0]

t = Table[c[n], {n, 0, 70}]  (* A211522 *)

FindLinearRecurrence[t]

LinearRecurrence[{1, 1, -1, 0, 1, -1, -1, 1}, {0, 0, 0, 1, 2, 3, 4, 6}, 58] (* Ray Chandler, Aug 02 2015 *)

PROG

(PARI) concat(vector(3), Vec(x^3*(1 + x + x^4) / ((1 - x)^3*(1 + x)*(1 + x + x^2 + x^3 + x^4)) + O(x^40))) \\ Colin Barker, Dec 02 2017

CROSSREFS

Cf. A211422.

Sequence in context: A060469 A080329 A002858 * A105799 A102463 A242110

Adjacent sequences:  A211519 A211520 A211521 * A211523 A211524 A211525

KEYWORD

nonn,easy

AUTHOR

Clark Kimberling, Apr 14 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 13 20:27 EST 2019. Contains 329973 sequences. (Running on oeis4.)