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.

A080085 Number of factors of 2 in the factorial of the n-th prime, counted with multiplicity.

Original entry on oeis.org

1, 1, 3, 4, 8, 10, 15, 16, 19, 25, 26, 34, 38, 39, 42, 49, 54, 56, 64, 67, 70, 74, 79, 85, 94, 97, 98, 102, 104, 109, 120, 128, 134, 135, 145, 146, 152, 159, 162, 168, 174, 176, 184, 190, 193, 194, 206, 216, 222, 224, 228, 232, 236, 244, 255, 259, 265, 266, 273, 277
Offset: 1

Views

Author

Paul D. Hanna, Jan 26 2003

Keywords

Comments

n-th prime minus number of 1's in binary representation of n-th prime. [Juri-Stepan Gerasimov, May 17 2010]

Crossrefs

Cf. A276133 (first differences).
Column 1 of array A379008, incremented by one.

Programs

Formula

a(n) = Sum_{k=1..L} floor( p_n /2^k ), where L = log(p_n)/log(2), where p_n is the n-th prime.
a(n) = A000040(n) - A014499(n). - Juri-Stepan Gerasimov, May 17 2010
a(n) = 1+A294898(A000040(n)). - Antti Karttunen, Dec 14 2024