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.

A255567 a(1) = 1, a(2) = 2, after which, a(2n+1) = 1 + a(2n), a(2n) = A255411(a(n)).

Original entry on oeis.org

1, 2, 3, 12, 13, 16, 17, 72, 73, 76, 77, 90, 91, 94, 95, 480, 481, 484, 485, 498, 499, 502, 503, 576, 577, 580, 581, 594, 595, 598, 599, 3600, 3601, 3604, 3605, 3618, 3619, 3622, 3623, 3696, 3697, 3700, 3701, 3714, 3715, 3718, 3719, 4200, 4201, 4204, 4205, 4218, 4219, 4222, 4223, 4296, 4297, 4300, 4301, 4314, 4315, 4318, 4319
Offset: 1

Views

Author

Antti Karttunen, May 05 2015

Keywords

Comments

From 2 onward, the sequence seems to give those n for which A256450(A255411(n))+1 = A255411(A256450(n)), i.e., grandparents for those cousins in tree A255566 where the cousin at the right side is one more than the cousin at the left side.

Examples

			This sequence can be represented as a binary tree. Apart from the 1 at root, and its children 2 and 3, from then on each left hand child is produced as A255411(n), and each right hand child as 1 + A255411(n) when parent contains n >= 2:
                   ..................1..................
                  2                                     3
        12......./ \.......13                 16......./ \.......17
       / \                 / \               / \                 / \
      /   \               /   \             /   \               /   \
     /     \             /     \           /     \             /     \
   72       73         76       77       90       91         94       95
480  481 484  485   498  499 502  503 576  577 580  581   594  595 598  599
etc.
		

Crossrefs

Cf. A256450, A255411. See also the tree illustration in A255566.

Formula

a(1) = 1, a(2) = 2, after which, a(2n+1) = 1 + a(2n), a(2n) = A255411(a(n)).

Extensions

Edited because of the changed starting offset of A256450 - Antti Karttunen, May 30 2016