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!)
A212088 Number of (w,x,y,z) with all terms in {1,...,n} and w<average{x,y,z}. 3
0, 0, 7, 36, 117, 292, 612, 1143, 1963, 3159, 4833, 7099, 10080, 13914, 18751, 24750, 32085, 40942, 51516, 64017, 78667, 95697, 115353, 137893, 163584, 192708, 225559, 262440, 303669, 349576, 400500, 456795, 518827, 586971, 661617 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

Also, number of (w,x,y,z) with all terms in {1,...,n} and w>average{x,y,z}.

a(n) + A212089(n) = n^4.

For a guide to related sequences, see A211795.

LINKS

Table of n, a(n) for n=0..34.

Index entries for linear recurrences with constant coefficients, signature (4, -6, 5, -5, 6, -4, 1).

FORMULA

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

G.f.: x^2*(x^4+5*x^3+15*x^2+8*x+7) / ((x^2+x+1)*(1-x)^5). - Alois P. Heinz, May 18 2012

MATHEMATICA

t = Compile[{{n, _Integer}}, Module[{s = 0},

(Do[If[3 w < x + y + z, s = s + 1],

{w, 1, #}, {x, 1, #}, {y, 1, #}, {z, 1, #}] &[n]; s)]];

Map[t[#] &, Range[0, 50]] (* A212088 *)

FindLinearRecurrence[%]

(* Peter J. C. Moses, Apr 13 2012 *)

LinearRecurrence[{4, -6, 5, -5, 6, -4, 1}, {0, 0, 7, 36, 117, 292, 612}, 35] (* Ray Chandler, Aug 02 2015 *)

CROSSREFS

Cf. A211795, A212069, A212089.

Sequence in context: A103090 A250414 A212141 * A184246 A097554 A055221

Adjacent sequences:  A212085 A212086 A212087 * A212089 A212090 A212091

KEYWORD

nonn,easy

AUTHOR

Clark Kimberling, May 01 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 September 26 20:57 EDT 2022. Contains 357050 sequences. (Running on oeis4.)