A126137 a(n) = pi(A037028(n)).
1, 2, 4, 8, 16, 35, 79, 184, 429, 1019, 2467, 6049, 14912, 37128, 93117, 234855, 595341, 1516234, 3877186, 9950346, 25614563, 66124777, 171141897, 443963543, 1154106845, 3005936865, 7842921261, 20496470802, 53645077679, 140599114669, 368973074566, 969455391691
Offset: 0
Keywords
Examples
a(3) = 8 since A037028(3) = 19 and 19 = the 8th prime. a(4) = 16 since A037028(4) = 53 and 53 = the 16th prime.
Links
- Amiram Eldar, Table of n, a(n) for n = 0..52
Programs
-
Mathematica
Table[np=NextPrime[E^n];pp=NextPrime[E^n,-1];If[E^n-pp
James C. McMahon, Dec 25 2024 *)
Extensions
Name edited by and more terms from Jinyuan Wang, Apr 10 2020
Offset corrected by James C. McMahon, Dec 25 2024
Comments