OFFSET
1,2
FORMULA
A(n,k) = (1 + 3^(k-1)*(2*n - 1))/2, n,k >= 1.
EXAMPLE
Array A begins as:
. 1 2 5 14 41 122 365 1094 3281 9842
. 2 5 14 41 122 365 1094 3281 9842 29525
. 3 8 23 68 203 608 1823 5468 16403 49208
. 4 11 32 95 284 851 2552 7655 22964 68891
. 5 14 41 122 365 1094 3281 9842 29525 88574
. 6 17 50 149 446 1337 4010 12029 36086 108257
. 7 20 59 176 527 1580 4739 14216 42647 127940
. 8 23 68 203 608 1823 5468 16403 49208 147623
. 9 26 77 230 689 2066 6197 18590 55769 167306
. 10 29 86 257 770 2309 6926 20777 62330 186989
MATHEMATICA
(* Array: *)
Grid[Table[(1 + 3^(k - 1)*(2*n - 1))/2, {n, 10}, {k, 10}]]
(* Array antidiagonals flattened (gives this sequence): *)
Flatten[Table[(1 + 3^(k - 1)*(2*(n - k) + 1))/2, {n, 10}, {k, n}]]
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
L. Edson Jeffery, Dec 17 2016
STATUS
approved