login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A348647 Irregular table read by rows; the n-th row contains the lengths of the runs of consecutive terms with the same parity in the n-th row of Pascal's triangle (A007318). 1
1, 2, 1, 1, 1, 4, 1, 3, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 8, 1, 7, 1, 2, 6, 2, 1, 1, 1, 5, 1, 1, 1, 4, 4, 4, 1, 3, 1, 3, 1, 3, 1, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 16, 1, 15, 1, 2, 14, 2, 1, 1, 1, 13, 1, 1, 1, 4, 12, 4, 1, 3, 1, 11, 1, 3, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
For any n >= 0, the n-th row:
- is palindromic,
- has A038573(n+1) terms,
- has leading term A006519(n+1),
- has central term A080079(n+1).
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..6304 (rows for n = 0..254, flattened)
FORMULA
Sum_{k = 1..A038573(n+1)} T(n, k) = n+1.
T(n, 1) = A006519(n+1).
T(n, A048896(n)) = A080079(n+1).
T(2^k-1, 1) = 2^k for any k >= 0.
EXAMPLE
Triangle begins:
1;
2;
1, 1, 1;
4;
1, 3, 1;
2, 2, 2;
1, 1, 1, 1, 1, 1, 1;
8;
1, 7, 1;
2, 6, 2;
1, 1, 1, 5, 1, 1, 1;
4, 4, 4;
1, 3, 1, 3, 1, 3, 1;
2, 2, 2, 2, 2, 2, 2;
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1;
16;
...
PROG
(PARI) row(n) = { my (b=binomial(n)%2, r=[], p=1, w=1); for (k=2, #b, if (p==b[k], w++, r=concat(r, w); p=b[k]; w=1)); concat(r, w) }
CROSSREFS
Sequence in context: A324574 A143201 A340082 * A254048 A306671 A308210
KEYWORD
nonn,look,tabf
AUTHOR
Rémy Sigrist, Oct 27 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 27 11:36 EDT 2024. Contains 375468 sequences. (Running on oeis4.)