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.

A228237 Numbers n for which there exists such a natural number k > n that k + bitcount(k) = n + bitcount(n), where bitcount(k) (A000120) gives the number of 1's in binary representation of nonnegative integer k.

Original entry on oeis.org

3, 11, 14, 15, 19, 27, 29, 31, 35, 43, 46, 47, 51, 59, 62, 67, 75, 78, 79, 83, 91, 93, 95, 99, 107, 110, 111, 115, 123, 124, 125, 126, 127, 131, 139, 142, 143, 147, 155, 157, 159, 163, 171, 174, 175, 179, 187, 190, 195, 203, 206, 207, 211, 219, 221, 223, 227
Offset: 1

Views

Author

Antti Karttunen, Sep 11 2013

Keywords

Comments

In other words, all such terms A228236(n) which satisfy A228236(n) < A228087(A092391(A228236(n))).
Note: 124 is the first term that occurs both here and in A228091.

Examples

			For cases 0 + A000120(0) = 0, 1 + A000120(1) = 2, 2 + A000120(2) = 3 there are no larger solutions yielding the same result.
However, for 3 + A000120(3) = 5 there is a larger solution yielding the same result, namely 4 + A000120(4) = 5, thus 3 is the first term of this sequence.
Next time this occurs for 11, as 11 + A000120(11) = 14 = 12 + A000120(12), and 12 > 11.
		

Crossrefs

Subset of A228236. Cf. also A228091.