OFFSET
1,1
COMMENTS
a(n) increases very slowly, gradually diverging from 3 + floor(log_2(n)).
LINKS
Indranil Ghosh, Table of n, a(n) for n = 1..10000
Wikipedia, Elias omega coding
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.
CROSSREFS
KEYWORD
base,easy,nonn,uned
AUTHOR
Reikku Kulon, Nov 13 2008
STATUS
approved