A211790
Rectangular array: R(k,n) = number of ordered triples (w,x,y) with all terms in {1,...,n} and w^k
Original entry on oeis.org
1, 7, 1, 23, 7, 1, 54, 22, 7, 1, 105, 51, 22, 7, 1, 181, 97, 50, 22, 7, 1, 287, 166, 96, 50, 22, 7, 1, 428, 263, 163, 95, 50, 22, 7, 1, 609, 391, 255, 161, 95, 50, 22, 7, 1, 835, 554, 378, 253, 161, 95, 50, 22, 7, 1, 1111, 756, 534, 374, 252, 161, 95, 50, 22, 7
Offset: 1
Northwest corner:
1, 7, 23, 54, 105, 181, 287, 428, 609
1, 7, 22, 51, 97, 166, 263, 391, 554
1, 7, 22, 50, 96, 163, 255, 378, 534
1, 7, 22, 50, 95, 161, 253, 374, 528
1, 7, 22, 50, 95, 161, 252, 373, 527
For n=2 and k>=1, the 7 triples (w,x,y) are (1,1,1), (1,1,2), (1,2,1), (1,2,2), (2,1,2), (2,2,1), (2,2,2).
-
z = 48;
t[k_, n_] := Module[{s = 0},
(Do[If[w^k < x^k + y^k, s = s + 1],
{w, 1, #}, {x, 1, #}, {y, 1, #}] &[n]; s)];
Table[t[1, n], {n, 1, z}] (* A004068 *)
Table[t[2, n], {n, 1, z}] (* A211635 *)
Table[t[3, n], {n, 1, z}] (* A211650 *)
TableForm[Table[t[k, n], {k, 1, 12}, {n, 1, 16}]]
Flatten[Table[t[k, n - k + 1], {n, 1, 12}, {k, 1, n}]] (* A211790 *)
Table[n (n + 1) (4 n - 1)/6,
{n, 1, z}] (* row-limit sequence, A002412 *)
(* Peter J. C. Moses, Apr 13 2012 *)
A182260
Number of ordered triples (w,x,y) with all terms in {1,...,n} and 2w
Original entry on oeis.org
0, 3, 11, 28, 56, 99, 159, 240, 344, 475, 635, 828, 1056, 1323, 1631, 1984, 2384, 2835, 3339, 3900, 4520, 5203, 5951, 6768, 7656, 8619, 9659, 10780, 11984, 13275, 14655, 16128, 17696, 19363, 21131, 23004, 24984, 27075, 29279, 31600, 34040
Offset: 1
For n=2, the 3 triples (w,x,y) for which 2w<x+y are (1,1,2), (1,2,1), (1,2,2). The 3 triples for which 2w>x+y are (2,1,1), (2,1,2), (2,2,1).
-
(See the program at A211802.)
LinearRecurrence[{3,-2,-2,3,-1},{0,3,11,28,56},50] (* Harvey P. Dale, Aug 10 2019 *)
A211805
Rectangular array: R(k,n) = number of ordered triples (w,x,y) with all terms in {1,...,n} and 2w^k>=x^k+y
Original entry on oeis.org
1, 5, 1, 16, 5, 1, 36, 14, 5, 1, 69, 32, 14, 5, 1, 117, 61, 30, 14, 5, 1, 184, 103, 57, 30, 14, 5, 1, 272, 162, 99, 55, 30, 14, 5, 1, 385, 240, 156, 91, 55, 30, 14, 5, 1, 525, 341, 230, 146, 91, 55, 30, 14, 5, 1, 696, 465, 323, 220, 140, 91, 55, 30, 14, 5, 1, 900
Offset: 1
Northwest corner:
1...5...16...36...69...117...184
1...5...14...32...61...103...162
1...5...14...30...57...99....156
1...5...14...30...55...91....146
1...5...14...30...55...91....140
-
z = 48;
t[k_, n_] := Module[{s = 0},
(Do[If[2 w^k >= x^k + y^k, s = s + 1],
{w, 1, #}, {x, 1, #}, {y, 1, #}] &[n]; s)];
Table[t[1, n], {n, 1, z}] (* A055232 *)
Table[t[2, n], {n, 1, z}] (* A211803 *)
Table[t[3, n], {n, 1, z}] (* A211804 *)
TableForm[Table[t[k, n], {k, 1, 12}, {n, 1, 16}]]
Flatten[Table[t[k, n - k + 1], {n, 1, 12},
{k, 1, n}]] (* A211805 *)
Table[k (k + 1) (2 k + 1)/6,
{k, 1, z}] (* row-limit sequence, A000330 *)
(* Peter J. C. Moses, Apr 13 2012 *)
A211801
Number of ordered triples (w,x,y) with all terms in {1,...,n} and 2w^3
Original entry on oeis.org
0, 3, 13, 34, 68, 117, 187, 282, 406, 559, 743, 966, 1232, 1545, 1899, 2304, 2764, 3285, 3869, 4512, 5222, 6005, 6867, 7812, 8828, 9931, 11125, 12412, 13798, 15271, 16847, 18532, 20330, 22239, 24255, 26394, 28660, 31055, 33573, 36222
Offset: 1
A211800
Number of ordered triples (w,x,y) with all terms in {1,...,n} and 2*w^2 < x^2 + y^2.
Original entry on oeis.org
0, 3, 13, 32, 64, 113, 181, 272, 388, 535, 713, 926, 1180, 1475, 1815, 2204, 2646, 3141, 3695, 4312, 4992, 5741, 6563, 7460, 8432, 9485, 10625, 11850, 13166, 14579, 16089, 17696, 19410, 21233, 23161, 25204, 27366, 29647, 32051, 34580
Offset: 1
Showing 1-5 of 5 results.
Comments