A175357 Irregular array: Row n contains the run-lengths (of runs of both 0's and 1's) of the binary representation of A175356(n).
1, 1, 2, 2, 2, 2, 1, 2, 1, 2, 1, 3, 2, 3, 2, 3, 1, 3, 2, 3, 3, 2, 1, 3, 2, 2, 3, 3, 1, 3, 3, 3, 2, 2, 1, 3, 3, 2, 2, 3, 1, 3, 3, 2, 3, 2, 1, 2, 2, 3, 3, 3, 1, 2, 3, 3, 2, 3, 1, 2, 3, 3, 3, 2, 1, 2, 3, 2, 3, 3, 2, 3, 1, 3, 2, 3, 2, 3, 1, 3, 3, 2, 2, 3, 1, 2, 3
Offset: 1
Examples
8984, the fifth term of A175356, is 10001100011000 in binary. There is a run of one 1, followed by a run of three 0's, followed by a run of two 1's, followed by a run of three 0's, followed by a run of two 1's, followed finally by a run of three 0's. So, row 5 is 1,3,2,3,2,3.
Links
- Rémy Sigrist, PARI program for A175357
Programs
-
PARI
See Links section.
Extensions
Example changed and tabf keyword added by Leroy Quet, Apr 27 2010
More terms from Rémy Sigrist, Feb 06 2019
Comments