OFFSET
1,2
LINKS
Ray Chandler, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A024620(n) - 1.
PROG
(Python)
from sympy import prime, primepi, integer_nthroot
def A027883(n):
p = prime(n)
return n+sum(primepi(integer_nthroot(p, k)[0]) for k in range(2, p.bit_length())) # Chai Wah Wu, Dec 08 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Erich Friedman.
Name clarified by Ilya Gutkovskiy, Mar 12 2020
STATUS
approved