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.

A147814 Number of bits in Elias omega-coded prime numbers.

Original entry on oeis.org

4, 4, 7, 7, 8, 8, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17
Offset: 1

Views

Author

Reikku Kulon, Nov 13 2008

Keywords

Comments

a(n) increases very slowly, gradually diverging from 3 + floor(log_2(n)).

Crossrefs

Formula

a(n) = 2 + Sum_{i=0..k} d(i), where
d(0) = bits(p_n)
d(x) = bits(d(x-1)-1)
...
d(k) = 2,
and bits(p_n) = 1 + floor(log_2(prime(n))) is the number of bits in the binary representation of the n-th prime.