Ruud H.G. van Tol on Thu, 01 Feb 2024 21:08:07 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

primepi([from,until])



I'm adding

a(n) = #primes([n^2/4, (n+1)^2/4]);

to https://oeis.org/A220492

and was wondering if primepi() should grow a primepi([x1, x2])variant,
to return the number of primes p, x1 <= p <= x2.

-- Ruud

Preview:
https://oeis.org/history/view?seq=A220492&v=9999