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.

A163293 a(n) = n-th prime minus (number of bits in binary expansion of n-th prime).

Original entry on oeis.org

0, 1, 2, 4, 7, 9, 12, 14, 18, 24, 26, 31, 35, 37, 41, 47, 53, 55, 60, 64, 66, 72, 76, 82, 90, 94, 96, 100, 102, 106, 120, 123, 129, 131, 141, 143, 149, 155, 159, 165, 171, 173, 183, 185, 189, 191, 203, 215, 219, 221, 225, 231, 233, 243, 248, 254, 260, 262, 268, 272
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Jul 24 2009

Keywords

Comments

Number of bits in binary expansion of n-th prime = A035100.

Examples

			a(6) = 13 - 4 = 9;
a(7) = 17 - 5 = 12.
		

Crossrefs

Programs

Formula

a(n) = A000040(n) - A035100(n).