The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A283270 Smallest b-a such that a < prime(n)^3 < b, where a,b are semiprimes. 1
3, 7, 6, 5, 4, 4, 4, 14, 11, 9, 6, 8, 4, 6, 5, 8, 8, 15, 8, 10, 19, 9, 20, 4, 8, 4, 11, 10, 16, 8, 11, 11, 6, 16, 5, 17, 11, 8, 12, 8, 12, 12, 7, 8, 8, 5, 6, 11, 11, 8, 5, 4, 14, 6, 19, 16, 14, 4, 20, 8, 16, 6, 6, 14, 16, 6, 4, 20, 22, 6, 16, 12, 24, 7, 21, 14 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
This is the third sequence of the series defined in A283267.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
MATHEMATICA
Table[Module[{m = Prime[n]^3, a, b}, a = m - 1; b = m + 1; While[PrimeOmega@ a != 2, a--]; While[PrimeOmega@ b != 2, b++]; b - a], {n, 120}] (* Michael De Vlieger, Mar 04 2017 *)
PROG
(PARI) issemi(n)=bigomega(n)==2
a(n, p=prime(n))=my(a=p^3, b=p^3); while(!issemi(a--), ); while(!issemi(b++), ); b-a \\ Charles R Greathouse IV, Mar 06 2017
CROSSREFS
Sequence in context: A256848 A019952 A157699 * A159779 A188734 A021883
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Mar 04 2017
EXTENSIONS
More terms from Peter J. C. Moses, Mar 04 2017
STATUS
approved

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 June 2 00:37 EDT 2024. Contains 373032 sequences. (Running on oeis4.)