OFFSET
0,4
LINKS
Daniel Suteu, Table of n, a(n) for n = 0..300
FORMULA
a(n) = reduced numerator of Sum_{p <= n} (p^floor(log(n)/log(p)) - 1) / p^floor(log(n)/log(p)) / (p-1), where p runs over the primes.
PROG
(PARI) a(n) = numerator(sum(k=1, primepi(n), sum(j=1, logint(n, prime(k)), 1/prime(k)^j)))
(PARI) a(n) = numerator((sum(k=1, primepi(n), (prime(k)^logint(n, prime(k)) - 1) / prime(k)^logint(n, prime(k)) / (prime(k)-1))))
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Daniel Suteu, Oct 24 2017
STATUS
approved