OFFSET
1,3
COMMENTS
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 1..20000
FORMULA
MAPLE
MATHEMATICA
Table[PrimePi[n] - PrimePi[2*n] + n, {n, 100}] (* Paolo Xausa, Oct 22 2024 *)
PROG
(Python)
from sympy import primepi
def A376759(n): return n+primepi(n)-primepi(n<<1) # Chai Wah Wu, Oct 20 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Oct 20 2024
STATUS
approved