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.

A283972 a(n) = n minus (product of lengths of 1-runs in binary representation of n) = n - A227349(n).

Original entry on oeis.org

0, 1, 1, 3, 4, 4, 4, 7, 8, 9, 9, 10, 11, 11, 11, 15, 16, 17, 17, 19, 20, 20, 20, 22, 23, 24, 23, 25, 26, 26, 26, 31, 32, 33, 33, 35, 36, 36, 36, 39, 40, 41, 41, 42, 43, 43, 43, 46, 47, 48, 47, 50, 51, 50, 49, 53, 54, 55, 53, 56, 57, 57, 57, 63, 64, 65, 65, 67, 68, 68, 68, 71, 72, 73, 73, 74, 75, 75, 75, 79, 80, 81, 81, 83, 84, 84, 84, 86, 87, 88, 87, 89
Offset: 1

Views

Author

Antti Karttunen, Apr 14 2017

Keywords

Crossrefs

Cf. A227349.
Cf. A227190, A284560, A284581 for similar sequences.

Programs

Formula

a(n) = n - A227349(n).

A284581 a(n) = n minus (carryless base-2 product of run lengths in binary representation of n) = n - A284579(n).

Original entry on oeis.org

0, 1, 1, 2, 4, 4, 4, 5, 7, 9, 9, 8, 11, 11, 11, 12, 14, 16, 15, 18, 20, 20, 20, 18, 21, 24, 23, 22, 26, 26, 26, 27, 29, 31, 29, 32, 35, 34, 33, 37, 39, 41, 41, 40, 43, 43, 43, 40, 43, 46, 43, 48, 51, 50, 49, 51, 51, 55, 53, 52, 57, 57, 57, 58, 60, 62, 59, 62, 66, 64, 66, 66, 69, 72, 71, 68, 73, 72, 71, 76, 78, 80, 79, 82, 84, 84, 84, 82, 85, 88, 87, 86
Offset: 1

Views

Author

Antti Karttunen, Apr 14 2017

Keywords

Crossrefs

Cf. A227190, A284560, A283972 for similar sequences.
Differs from A227190 for the first time at n=56, where a(56)=51, while A227190(56)=47.

Programs

Formula

a(n) = n - A284579(n).
Showing 1-2 of 2 results.