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.

A176761 Partial sums of A030001, starting at n=1.

Original entry on oeis.org

1, 3, 35, 39, 295, 311, 33079, 33087, 37183, 38207, 1099511665983, 1099511666111, 1099511797183, 1099512059327, 1099514156479, 1099514156495, 1099648374223, 1100722116047, 1100722124239, 1100722126287, 1100722388431, 9896815410639
Offset: 1

Views

Author

Jonathan Vos Post, Apr 25 2010

Keywords

Comments

Partial sums of smallest power of 2 whose decimal expansion contains n. One may see this sequence expressed in binary, rather than decimal, for clarity, though "carries" obscure the characteristic function aspects of structure. The subsequence of primes in this partial sum begins: 3, 311, 1100722116047, 1100722388431.

Examples

			a(6) = 1 + 2 + 32 + 4 + 256 + 16 = 311 is prime.
		

Crossrefs

Formula

a(n) = SUM[i=1..n] A030001(i).