login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A216292 Values of n such that there is exactly one prime between 10n and 10n + 9. 5
9, 11, 12, 14, 18, 21, 24, 29, 30, 36, 39, 41, 42, 45, 47, 48, 55, 58, 63, 66, 68, 69, 71, 72, 74, 77, 78, 79, 80, 81, 83, 86, 87, 90, 92, 93, 95, 96, 98, 100, 102, 104, 105, 108, 111, 116, 117, 119, 120, 124, 125, 131, 137, 138, 139, 140, 144, 147, 151, 152 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

V. Raman, Table of n, a(n) for n = 1..10000

FORMULA

a(n) ~ 0.1 n log n. - Charles R Greathouse IV, Sep 07 2012

a(n) = floor(A078494(n) / 10). - Charles R Greathouse IV, Sep 07 2012

EXAMPLE

36 is in the sequence because between 360 and 369 there is exactly one prime: 367. [Bruno Berselli, Sep 04 2012]

MATHEMATICA

t = {}; Do[ps = Select[Range[10*n, 10*n + 9], PrimeQ]; If[Length[ps] == 1, AppendTo[t, n]], {n, 0, 199}]; t (* T. D. Noe, Sep 03 2012 *)

Select[Range[200], PrimePi[10#+9]-PrimePi[10#]==1&] (* Harvey P. Dale, Feb 04 2015 *)

PROG

(MAGMA) [n: n in [1..200] | IsOne(#PrimesInInterval(10*n, 10*n+9))]; // Bruno Berselli, Sep 04 2012

(PARI) is(n)=isprime(10*n+1)+isprime(10*n+3)+isprime(10*n+7)+isprime(10*n+9)==1 \\ Charles R Greathouse IV, Sep 07 2012

CROSSREFS

Cf. A007811, A032352, A078494, A216293.

Sequence in context: A043457 A202707 A031078 * A250295 A071217 A064930

Adjacent sequences:  A216289 A216290 A216291 * A216293 A216294 A216295

KEYWORD

nonn

AUTHOR

V. Raman, Sep 03 2012

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 23 07:56 EST 2022. Contains 350510 sequences. (Running on oeis4.)