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.

Showing 1-2 of 2 results.

A129600 Array A(i,j) of binary run-length encoded product of i and j, read by ascending antidiagonals.

Original entry on oeis.org

0, 1, 1, 2, 3, 2, 3, 4, 4, 3, 4, 7, 6, 7, 4, 5, 8, 8, 8, 8, 5, 6, 11, 12, 15, 12, 11, 6, 7, 12, 9, 16, 16, 9, 12, 7, 8, 15, 14, 23, 24, 23, 14, 15, 8, 9, 16, 16, 24, 19, 19, 24, 16, 16, 9, 10, 19, 24, 31, 28, 13, 28, 31, 24, 19, 10, 11, 20, 17, 32, 32, 17, 17, 32, 32, 17, 20, 11, 12
Offset: 0

Views

Author

Antti Karttunen, May 01 2007

Keywords

Crossrefs

Cf. A129602 (center diagonal), A014601 (row 1 apart from the first term).

Formula

A(i,j) = A075158(((A075157(i)+1)*(A075157(j)+1)) - 1).

Extensions

Name edited by Michel Marcus, Dec 01 2021

A129603 Replace in the binary expansion of n each run of k 0's (or 1's) with 2k-1 0's (or 1's).

Original entry on oeis.org

0, 1, 2, 7, 8, 5, 14, 31, 32, 17, 10, 23, 56, 29, 62, 127, 128, 65, 34, 71, 40, 21, 46, 95, 224, 113, 58, 119, 248, 125, 254, 511, 512, 257, 130, 263, 136, 69, 142, 287, 160, 81, 42, 87, 184, 93, 190, 383, 896, 449, 226, 455, 232, 117, 238, 479, 992, 497, 250, 503
Offset: 0

Views

Author

Antti Karttunen, May 01 2007

Keywords

Examples

			a(1) = 1, as 1 is 1 in binary and single runs stay intact (as 2*1 - 1 = 1). a(9) = 17, as 9 is 1001 in binary and keeping the most and the least significant runs as '1' and changing the center run '00' to '000', we get 10001 in binary, 17 in decimal.
		

Crossrefs

Showing 1-2 of 2 results.