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-1 of 1 results.

A269130 a(n) = n + (n base 2 regarded as a decimal number).

Original entry on oeis.org

0, 2, 12, 14, 104, 106, 116, 118, 1008, 1010, 1020, 1022, 1112, 1114, 1124, 1126, 10016, 10018, 10028, 10030, 10120, 10122, 10132, 10134, 11024, 11026, 11036, 11038, 11128, 11130, 11140, 11142, 100032, 100034, 100044, 100046, 100136, 100138, 100148, 100150, 101040
Offset: 0

Views

Author

Isaac S. Friedman, Feb 19 2016

Keywords

Comments

All terms in this sequence are even, because every even number produces an even binary number (ends with 0) and every odd number produces an odd binary number (ends with 1).

Examples

			a(4) = convert_to_binary(4) + 4 = 100 + 4 = 104.
		

Crossrefs

Cf. A000027 (counting numbers), A007088 (binary numbers).
Cf. A127906 (multiplicated), A228071 (subtracted).

Programs

Formula

a(n) = A007088(n) + n.
Showing 1-1 of 1 results.