login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A074705
a(1)=4; for n>1: number of primes between squares of (n-1)-th and (n+1)-th primes.
1
4, 7, 11, 21, 24, 31, 33, 38, 74, 63, 73, 101, 64, 66, 126, 158, 110, 122, 156, 96, 136, 181, 189, 277, 252, 131, 129, 129, 142, 454, 453, 264, 214, 348, 357, 240, 368, 314, 326, 393, 271, 432, 433, 221, 219, 538, 942, 647, 250, 248, 436, 360, 528, 713, 549
OFFSET
1,1
LINKS
EXAMPLE
Primes between A000040(3-1)^2=3*3=9 and A000040(3+1)^2=7*7=49: {11,13,17,19,23,29,31,37,41,43,47}, therefore a(3)=11.
MATHEMATICA
Join[{4}, Last[#]-First[#]&/@Partition[PrimePi[Prime[Range[60]]^2], 3, 1]] (* Harvey P. Dale, Jun 13 2016 *)
CROSSREFS
Sequence in context: A002974 A130625 A104102 * A352216 A288111 A352214
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Sep 03 2002
STATUS
approved