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!)
A095391 a(n) is the least x such that A094892(x)=n. 2

%I #5 Oct 19 2017 03:14:32

%S 1751793,235449,60110,10471,17110,8495,6288,3182,2452,1349,331,348,

%T 446,223,249,205,111,67,55,63,28,37,14,21,18,11,10,6,551,5,4,7,3,2

%N a(n) is the least x such that A094892(x)=n.

%e a[0]=1751793 because there are no primes between 210*1751793 and 210*1751794.

%e a[1]=235449 because there is one prime between 210*235449 and 210*235450.

%t ta=Table[0, {up}]; Do[{m=0};Do[s=210*k+r; s1=210*k+r+2; If[PrimeQ[s], m=m+1], {r, 1, 210}];ta[[k]]=m, {k, 1, up}] Table[Min[Flatten[Position[ta, j]]], {j, 1, 48}]

%Y Cf. A078859, A095389, A008364.

%K fini,nonn

%O 0,1

%A _Labos Elemer_, Jun 16 2004

%E Edited by _Don Reble_, Jun 16 2004

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 23 08:33 EDT 2024. Contains 371905 sequences. (Running on oeis4.)