[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
login
Revision History for A212963 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
a(n) = number of ordered triples (w,x,y) such that w,x,y are all in {0,...,n} and the numbers |w-x|, |x-y|, |y-w| are distinct.
(history; published version)
#31 by N. J. A. Sloane at Wed Dec 29 10:33:36 EST 2021
STATUS

proposed

approved

#30 by Clark Kimberling at Wed Dec 29 09:19:37 EST 2021
STATUS

editing

proposed

#29 by Clark Kimberling at Wed Dec 29 09:18:59 EST 2021
EXAMPLE

a(3) counts the 12 ordered triples in the first column of the following list:

(w,x,y) (|w-x|,|x-y|,|y-w|)

----------------------------

(0,1,3) (1,2,3)

(0,2,3) (2,1,3)

(0,3,1) (3,2,1)

(0,3,2) (3,1,2)

(1,0,3) (1,3,2)

(1,3,0) (2,3,1)

(2,0,3) (2,3,1)

(2,3,0) (1,3,2)

(3,0,1) (3,1,2)

(3,0,2) (3,2,1)

(3,1,0) (2,1,3)

(3,2,0) (1,2,3)

STATUS

proposed

editing

#28 by N. J. A. Sloane at Tue Dec 28 21:39:29 EST 2021
STATUS

editing

proposed

#27 by N. J. A. Sloane at Tue Dec 28 21:39:25 EST 2021
COMMENTS

For each n, there are (n+1)^3 ordered triples, ranging in lexicographical order from (0,0,0) to (n,n,n). For n = 3, the ordered triples (w,x,y) for which |w-x|, |x-y|, |y-w| are distinct are listed in the Example.

|w-x|, |x-y|, |y-w| are distinct are listed in the Example.

The ambiguous term "ordered triple" here means that the order matters: (w,x,y) is a different triple from (w,y,x), etc. It does not mean that w<x<y. - N. J. A. Sloane, Dec 28 2021

STATUS

proposed

editing

#26 by Clark Kimberling at Tue Dec 28 20:12:32 EST 2021
STATUS

editing

proposed

#25 by Clark Kimberling at Tue Dec 28 20:11:50 EST 2021
NAME

Number a(n) = number of ordered triples (w,x,y) with such that w,x,y are all terms in {0,...,n} and the numbers |w-x| != |x-y| and , |x-y| != , |y-w| are distinct.

COMMENTS

For each n, there are (n+1)^3 ordered triples, ranging in lexicographical order from (0,0,0) to (n,n,n). For n = 3, the ordered triples (w,x,y) for which

|w-x|, |x-y|, |y-w| are distinct are listed in the Example.

MATHEMATICA

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

Module[{s = 0}, (Do[If[Abs[w - x] != Abs[x - y] && Abs[x - y] != Abs[y - w], &&

Abs[y - w] != Abs[w - x], s = s + 1], {w, 0, n}, {x, 0, n}, {y, 0, n}]; s)]];

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

m = Map[t[#] &, Range[0, 45]] (* A212963 *)

m/12 (* essentially A002623 *)

EXTENSIONS

Under construction, do not touch - N. J. A. Sloane, Dec 28 2021. I will ask Clark to clarify the definition. Are we assuming W < x < y? What precisely are the inequalites that are being assumed? Given that the definition mentioned "z", there is cause for suspicion. Please give examples for n = 3 and n = 4.

Definition corrected by Clark Kimberling, Dec 28 2021

#24 by N. J. A. Sloane at Tue Dec 28 00:38:24 EST 2021
EXTENSIONS

Under construction, do not touch - N. J. A. Sloane, Dec 28 2021. I will ask Clark to clarify the definition. Are we assuming W < x < y? What precisely are the inequalites that are being assumed? Given that the definition mentioned "z", there is cause for suspicion. Please give examples for n = 3 and n = 4.

STATUS

approved

editing

#23 by N. J. A. Sloane at Tue Dec 28 00:23:59 EST 2021
STATUS

editing

approved

#22 by N. J. A. Sloane at Tue Dec 28 00:23:55 EST 2021
EXTENSIONS

Under construction, do not touch - N. J. A. Sloane, Dec 28 2021