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]
- To: pari-users <pari-users@pari.math.u-bordeaux.fr>
- Subject: primepi([from,until])
- From: "Ruud H.G. van Tol" <rvtol@isolution.nl>
- Date: Thu, 1 Feb 2024 21:08:00 +0100
- Delivery-date: Thu, 01 Feb 2024 21:08:07 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=isolution.nl; s=soverin; t=1706818083; bh=OhMp6ZQzJZlptp5hTIh1gWllId7St6OInFLtIcNPghM=; h=Date:To:From:Subject:From; b=dNR0C0FlO+jaItiER/k26cphu5nZgS0b76gvYpxcXnapOKfj2FIwTFbuHfXgwqmSE v7GXe2KiYM/BfVej7hAh2Do7Htgb7Vwl+w3dZRirYXZuKEVrqcw/otcjNOxy/KF8HJ VmWFWloxsT26rDeqs+seeQMXU9lWpaL08lph1CeIRU3LQ75F7sek3BKY1XD1t2NBq8 EBrHvtZLAHjLQo0U9ZAHhF9iGu9BjdpLt7hLLFHA3YHEK360lL/ddwuP8hTRn4E9Tx w6tc1axgTW5JWkHY2FGYju3IR6bSPzda4qlPVXNzyOL/FNPvM5+bCIRXyIfu7BgZ8K E/XRqT/vEILXw==
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