[go: up one dir, main page]

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

Showing all changes.
Triangular array read by rows: T(h,k) = number of steps from (h,k) to (0,0), where allowable steps are as follows: (x,y) -> (x-r, y) if r > 0, and (x,y) -> (y, r/3) otherwise, where r = x mod 3.
(history; published version)
#9 by N. J. A. Sloane at Wed May 06 09:48:05 EDT 2015
STATUS

editing

approved

#8 by N. J. A. Sloane at Wed May 06 09:47:05 EDT 2015
NAME

Triangular array read by rows: T(h,k) = number of steps from (h,k) to (0,0), where allowable steps are as follows: (x,y) -> (x-r, y) if r > 0, and (x,y) -> (y, r/3) otherwise, where r = x mod 3.

STATUS

proposed

editing

Discussion
Wed May 06
09:48
N. J. A. Sloane: "Triangular array read by rows: T(h,k) = number of steps..."  "read by rows", no double spaces.  No big deal, but I've had to make these corrections many times!
#7 by Clark Kimberling at Mon May 04 11:19:51 EDT 2015
STATUS

editing

proposed

#6 by Clark Kimberling at Sat May 02 14:57:02 EDT 2015
NAME

Triangular array: T(h,k) = number of steps from (h,k) to (0,0), where allowable steps are as follows: (x,y) -> (x-(x mod 3), r, y) if (x mod 3) is not r > 0, and (x,y) -> (y, xr/3) otherwise, where r = x mod 3.

COMMENTS

For n >= 3, the number of pairs (h,k) satisfying T(h,k) = n is A078008(n+1) for n >= 0. The number of pairs of the form (h,0) satisfying T(h,0) = n is A253718(n).

The number of pairs of the form (h,0) satisfying T(h,0) = n is A253718(n).

MATHEMATICA

f[{x_, y_}] := If[IntegerQ[x/3], {y, x/3}, {x - Mod[x, 3], y}];

g[{x_, y_}] := Drop[FixedPointList[f, {x, y}], -1];

h[{x_, y_}] := -1 + Length[g[{x, y}]];

t = Table[h[{n - k, k}], {n, 0, 20}, {k, 0, n}];

Flatten[t] (* A253281 sequence *)

CROSSREFS
#5 by Clark Kimberling at Sat May 02 14:51:03 EDT 2015
NAME

allocated for Clark KimberlingTriangular array: T(h,k) = number of steps from (h,k) to (0,0), where allowable steps are as follows: (x,y) -> (x-(x mod 3), y) if (x mod 3) is not 0, and (x,y) -> (y, x/3) otherwise.

DATA

0, 1, 2, 1, 3, 2, 3, 3, 3, 4, 4, 4, 3, 5, 5, 4, 5, 4, 5, 6, 5, 3, 5, 5, 5, 6, 6, 4, 4, 4, 5, 6, 6, 6, 5, 5, 4, 5, 4, 6, 7, 6, 5, 6, 5, 5, 5, 5, 5, 7, 7, 5, 6, 6, 6, 6, 6, 5, 6, 6, 7, 6, 6, 6, 7, 7, 6, 7, 6, 6, 7, 6, 6, 7, 6, 7, 8, 7, 6, 7, 7, 6, 7, 7, 5, 7

OFFSET

1,3

COMMENTS

For n>=3, the number of pairs (h,k) satisfying T(h,k) = n is A078008(n+1) for n >= 0.

The number of pairs of the form (h,0) satisfying T(h,0) = n is A253718(n).

LINKS

Clark Kimberling, <a href="/A253281/b253281.txt">Table of n, a(n) for n = 1..1000</a>

EXAMPLE

First ten rows:

0

1 2

1 3 2

3 3 3 4

4 4 3 5 5

4 5 4 5 6 5

3 5 5 5 6 6 4

4 4 5 6 6 6 5 5

4 5 4 6 7 6 5 6 5

5 5 5 5 7 7 5 6 6 6

Row 3 counts the pairs (2,0), (1,1), (0,2), for which the paths are as shown here:

(2,0) -> (0,0) (1 step)

(1,1) -> (0,1) -> (1,0) -> (0,0) (3 steps)

(0,2) -> (2,0) -> (0,0) (2 steps)

MATHEMATICA

f[{x_, y_}] := If[IntegerQ[x/3], {y, x/3}, {x - Mod[x, 3], y}]

g[{x_, y_}] := Drop[FixedPointList[f, {x, y}], -1]

h[{x_, y_}] := -1 + Length[g[{x, y}]]

t = Table[h[{n - k, k}], {n, 0, 20}, {k, 0, n}]

TableForm[t] (* A253281 array *)

Flatten[t] (* A253281 *)

CROSSREFS
KEYWORD

allocated

nonn,tabl,easy

AUTHOR

Clark Kimberling, May 02 2015

STATUS

approved

editing

#4 by Clark Kimberling at Sat May 02 12:20:35 EDT 2015
NAME

allocated for Clark Kimberling

KEYWORD

recycled

allocated

#3 by R. J. Mathar at Thu Apr 30 15:44:51 EDT 2015
STATUS

editing

approved

#2 by R. J. Mathar at Thu Apr 30 15:44:48 EDT 2015
NAME

allocated for Eric Chen

KEYWORD

allocated

recycled

STATUS

approved

editing

#1 by Eric Chen at Mon Dec 29 11:48:50 EST 2014
NAME

allocated for Eric Chen

KEYWORD

allocated

STATUS

approved