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!)
A216289 Smallest k in which there are exactly n primes between 10*k and 10*k+9. 0

%I #5 Sep 03 2012 22:34:27

%S 20,9,2,4,0

%N Smallest k in which there are exactly n primes between 10*k and 10*k+9.

%t mx = 5; t = Table[-1, {mx}]; n = 0; found = 0; While[found < mx, ps = Select[Range[10*n, 10*n + 9], PrimeQ]; len = Length[ps]; If[t[[len + 1]] == -1, t[[len + 1]] = n; found++]; n++]; t (* _T. D. Noe_, Sep 03 2012 *)

%Y Cf. A186311, A032352, A007811, A078494.

%K nonn,fini,full

%O 0,1

%A _V. Raman_, Sep 03 2012

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 13:50 EDT 2024. Contains 371780 sequences. (Running on oeis4.)