login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A171218 a(n) = sum(A109613(k)*A005843(n-k): 0<=k<=n). 6
0, 2, 6, 16, 32, 58, 94, 144, 208, 290, 390, 512, 656, 826, 1022, 1248, 1504, 1794, 2118, 2480, 2880, 3322, 3806, 4336, 4912, 5538, 6214, 6944, 7728, 8570, 9470, 10432, 11456, 12546, 13702, 14928, 16224, 17594, 19038, 20560, 22160, 23842, 25606 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

a(n) is the number of triples (w,x,y) with all terms in {0,...,n} and 2|w-x|<max(w,x,y)-min(w,x,y).  [Clark Kimberling, Jun 11 2012]

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..10000

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

FORMULA

a(n+1) - a(n) = A137928(n+1).

Contribution from Bruno Berselli, Nov 16 2011: (Start)

G.f.: 2*x*(1+x^2)/((1+x)*(1-x)^4).

a(n) = 2*A131941(n) = (2*n*(2*n^2+3*n+4)-3*(-1)^n+3)/12.

a(n) = -a(-n-1) = 3*a(n-1)-2*a(n-2)-2*a(n-3)+3*a(n-4)-a(n-5). (End)

PROG

(MAGMA) [&+[(2*k+(-1)^k+1)*(n-k): k in [0..n]]: n in [0..42]];  // Bruno Berselli, Nov 16 2011

CROSSREFS

Sequence in context: A005996 A192735 A330503 * A032091 A182994 A309691

Adjacent sequences:  A171215 A171216 A171217 * A171219 A171220 A171221

KEYWORD

nonn,easy

AUTHOR

Reinhard Zumkeller, Dec 05 2009

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 July 28 00:54 EDT 2021. Contains 346316 sequences. (Running on oeis4.)