[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Revision History for A213487 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Number of (w,x,y) with all terms in {0,...,n} and |w-x|+|x-y|+|y-w| <= w+x+y.
(history; published version)
#11 by Harvey P. Dale at Wed Jun 19 17:53:25 EDT 2024
STATUS

editing

approved

#10 by Harvey P. Dale at Wed Jun 19 17:53:22 EDT 2024
MATHEMATICA

LinearRecurrence[{4, -7, 8, -7, 4, -1}, {1, 5, 15, 37, 77, 138}, 50] (* Harvey P. Dale, Jun 19 2024 *)

STATUS

approved

editing

#9 by Michael De Vlieger at Tue Feb 20 11:18:16 EST 2024
STATUS

proposed

approved

#8 by Michel Marcus at Tue Feb 20 10:57:55 EST 2024
STATUS

editing

proposed

#7 by Michel Marcus at Tue Feb 20 10:57:51 EST 2024
COMMENTS

a(n)+A213486(n)=(n+1)^3.

LINKS

<a href="/index/Rec#order_06">Index entries for linear recurrences with constant coefficients</a>, signature (4,-7,8,-7,4,-1).

FORMULA

a(n) = (n+1)^3 - A213486(n).

MATHEMATICA

t = Compile[{{n, _Integer}}, Module[{s = 0}, (Do[If[w + x + y >= Abs[w - x] + Abs[x - y] + Abs[y - w], s = s + 1], {w, 0, n}, {x, 0, n}, {y, 0, n}]; s)]];

(Do[If[w + x + y >= Abs[w - x] + Abs[x - y] + Abs[y - w],

s = s + 1], {w, 0, n}, {x, 0, n}, {y, 0, n}]; s)]];

CROSSREFS
STATUS

approved

editing

#6 by Charles R Greathouse IV at Sat Jun 13 00:54:16 EDT 2015
LINKS

<a href="/index/Rec">Index to sequences with entries for linear recurrences with constant coefficients</a>, signature (4,-7,8,-7,4,-1).

Discussion
Sat Jun 13
00:54
OEIS Server: https://oeis.org/edit/global/2439
#5 by Charles R Greathouse IV at Fri Jun 12 15:33:23 EDT 2015
LINKS

<a href="/index/Rec#recLCC">Index to sequences with linear recurrences with constant coefficients</a>, signature (4,-7,8,-7,4,-1).

Discussion
Fri Jun 12
15:33
OEIS Server: https://oeis.org/edit/global/2437
#4 by T. D. Noe at Tue Jun 26 11:22:34 EDT 2012
STATUS

proposed

approved

#3 by Clark Kimberling at Tue Jun 26 07:40:37 EDT 2012
STATUS

editing

proposed

#2 by Clark Kimberling at Wed Jun 13 13:46:22 EDT 2012
NAME

allocated for Clark KimberlingNumber of (w,x,y) with all terms in {0,...,n} and |w-x|+|x-y|+|y-w| <= w+x+y.

DATA

1, 5, 15, 37, 77, 138, 223, 338, 489, 679, 911, 1191, 1525, 1916, 2367, 2884, 3473, 4137, 4879, 5705, 6621, 7630, 8735, 9942, 11257, 12683, 14223, 15883, 17669, 19584, 21631, 23816, 26145, 28621, 31247, 34029, 36973, 40082, 43359, 46810

OFFSET

0,2

COMMENTS

a(n)+A213486(n)=(n+1)^3.

For a guide to related sequences, see A212959.

LINKS

<a href="/index/Rec#recLCC">Index to sequences with linear recurrences with constant coefficients</a>, signature (4,-7,8,-7,4,-1).

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 + x + 2*x^2 + 4*x^3 + x^4)/((1 - x)^4 (1 + x^2)).

MATHEMATICA

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

(Do[If[w + x + y >= Abs[w - x] + Abs[x - y] + Abs[y - w],

s = s + 1], {w, 0, n}, {x, 0, n}, {y, 0, n}]; s)]];

m = Map[t[#] &, Range[0, 60]] (* A213487 *)

CROSSREFS

Cf. A212959.

KEYWORD

allocated

nonn,easy

AUTHOR

Clark Kimberling, Jun 13 2012

STATUS

approved

editing

Discussion
Thu Jun 21
01:46
OEIS Server: This sequence has not been edited or commented on for a week
yet is not proposed for review.  If it is ready for review, please
visit https://oeis.org/draft/A213487 and click the button that reads
"These changes are ready for review by an OEIS Editor."

Thanks.
  - The OEIS Server