The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A164056 Triangle of 2^n terms by rows, derived from A088696 as to length of continued fractions, lengths increase = 1, decrease = 0. A088696 can be generated using the following algorithm: Rows 0 and 1 begin 1; 1,2; then for all further rows, bring down current row then append to the right: (1 added to each term in current row). Row 2 (1, 2, 3, 2) then becomes: (1, 2, 3, 2, 3, 4, 3, 2). 6
0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Complement of the sequence = A164057
LINKS
Jon Maiga, Table of n, a(n) for n = 0..1022 (Rows 0..9)
FORMULA
Given number of terms in half of the Stern-Brocot infinite Farey tree (cf. A088696); left the leftmost term in each row = 0, then the next term = 1 if the next corresponding positional term in A088696 increases; otherwise 0.
EXAMPLE
A088696 begins:
1;
1, 2;
1, 2, 3, 2;
1, 2, 3, 2, 3, 4, 3, 2;
...
Triangle A164056 =
0;
0, 1;
0, 1, 1, 0;
0, 1, 1, 0, 1, 1, 0, 0;
0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0;
...
MATHEMATICA
A088696[n_]:=A088696[n]=Flatten[NestList[Join[#, Reverse[#]+1]&, {1}, 15]][[n]]; Table[If[n>1, If[A088696[n+1]>A088696[n], 1, 0], 0], {n, 0, 100}] (* Jon Maiga, Sep 30 2019 *)
CROSSREFS
Sequence in context: A072784 A092436 A288306 * A286059 A163539 A143538
KEYWORD
nonn,tabf
AUTHOR
Gary W. Adamson, Aug 08 2009
EXTENSIONS
More terms from Jon Maiga, Sep 30 2019
Keyword tabf from Michel Marcus, Sep 30 2019
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 May 14 03:08 EDT 2024. Contains 372528 sequences. (Running on oeis4.)