cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A368826 Square array T(n,k) = 3*2^k - n read by ascending antidiagonals.

Original entry on oeis.org

3, 2, 6, 1, 5, 12, 0, 4, 11, 24, -1, 3, 10, 23, 48, -2, 2, 9, 22, 47, 96, -3, 1, 8, 21, 46, 95, 192, -4, 0, 7, 20, 45, 94, 191, 384, -5, -1, 6, 19, 44, 93, 190, 383, 768, -6, -2, 5, 18, 43, 92, 189, 382, 767, 1536, -7, -3, 4, 17, 42, 91, 188, 381, 766, 1535, 3072
Offset: 0

Views

Author

Paul Curtz, Jan 07 2024

Keywords

Comments

Similar to A367559.

Examples

			Table begins:
   3  6 12 24 48 96 ...
   2  5 11 23 47 95 ...
   1  4 10 22 46 94 ...
   0  3  9 21 45 93 ...
  -1  2  8 20 44 92 ...
  -2  1  7 19 43 91 ...
  ...
		

Crossrefs

Programs

  • Mathematica
    T[n_, k_] := 3*2^k - n; Table[T[n - k, k], {n, 0, 10}, {k, 0, n}] // Flatten (* Amiram Eldar, Jan 15 2024 *)

Formula

T(0,k) = 3*2^k = A007283(k).
T(1,k) = 3*2^k - 1 = A083329(k+1).
T(2,k) = 3*2^k - 2 = A033484(k).
T(3,k) = 3*2^k - 3 = 3*A000225(k).
T(4,k) = 3*2^k - 4 = -A165751(k).
T(5,k) = 3*2^k - 5 = A048488(k-1)
T(6,k) = 3*2^k - 6 = 3*A000918(k).