A261693 Irregular triangle read by rows in which row n lists the positive odd numbers in decreasing order starting with 2^n - 1. T(0, 1) = 0 and T(n, k) for n >= 1, 1 <= k <= 2^(n-1).
0, 1, 3, 1, 7, 5, 3, 1, 15, 13, 11, 9, 7, 5, 3, 1, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 63, 61, 59, 57, 55, 53, 51, 49, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 127, 125, 123, 121, 119, 117, 115, 113, 111, 109, 107, 105, 103, 101, 99, 97, 95, 93
Offset: 0
Examples
With the terms written as an irregular triangle T in which row lengths are the terms of A011782 the sequence begins: 0; 1; 3, 1; 7, 5, 3, 1; 15, 13, 11, 9, 7, 5, 3, 1; 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1; ... ------------------------------------------------------------------------------- From _Wolfdieter Lang_, Oct 26 2019: (Start) Chebyshev T(2^j)-products (the argument x is here omitted): n = 1: T(2) = (2^0)*T(2*1), n = 2: T(2)*T(4) = (1/2)*(T(2*3) + T(2*1)) = (T(6) + T(2))/2, n = 3: T(2)*T(4)*T(8) = (1/2^2)*(T(2*7) + T(2*5) + T(2*3) + T(2*1)) = (T(14) + T(10) + T(6) + T(2))/4. ... (End)
Links
Crossrefs
Programs
-
Maple
A261693 := n -> Bits:-Nor(2*n, 2*n): seq(A261693(n), n=0..81); # Peter Luschny, Sep 23 2019
-
Mathematica
Table[Reverse[2 Range[2^(n - 1)] - 1], {n, 0, 7}] /. {} -> 0 // Flatten (* Michael De Vlieger, Oct 05 2015 *)
-
PARI
tabf(nn) = {for (n=0, nn, print1(n, ":"); for (k=1, 2^(n-2), print1(2^(n-1) - 2*k + 1, ", ");); print(););} \\ Michel Marcus, Oct 27 2015
Formula
T(n, k) = 2^n + 1 - 2*k, n >= 1, 1 <= k <= 2^(n-1), and T(0, 0) = 0.
As a sequence: a(n) = A262621(n)/4, n >= 1, and a(0) = 0.
Extensions
Corrections by Wolfdieter Lang, Nov 15 2019
Comments