OFFSET
1,2
COMMENTS
EXAMPLE
Northwest corner:
0 3 11 28 56 99 159 240
0 3 13 32 64 113 181 272
0 3 13 34 68 117 187 282
0 3 13 34 70 125 197 292
0 3 13 34 70 125 203 302
MATHEMATICA
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}] (* A182260 *)
Table[t[2, n], {n, 1, z}] (* A211800 *)
Table[t[3, n], {n, 1, z}] (* A211801 *)
TableForm[Table[t[k, n], {k, 1, 12}, {n, 1, 16}]]
Flatten[Table[t[k, n - k + 1], {n, 1, 12},
{k, 1, n}]] (* this sequence *)
Table[k (k - 1) (4 k + 1)/6, {k, 1,
z}] (* row-limit sequence, A016061 *)
(* Peter J. C. Moses, Apr 13 2012 *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Clark Kimberling, Apr 22 2012
EXTENSIONS
Definition corrected by Georg Fischer, Sep 10 2022
STATUS
approved