login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A215232 Least semiprime m such that the next semiprime is m + A215231(n). 3
4, 6, 10, 15, 26, 95, 597, 1418, 2681, 6559, 16053, 17965, 32777, 35103, 35981, 340894, 1069541, 1589662, 3586843, 5835191, 139139887, 251306317, 285074689, 327023206, 751411951, 981270902, 2655397631, 5238280946, 6498130361, 8512915573, 16328958619 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The semiprime m + A215231(n) is in A217851.

LINKS

Donovan Johnson, Table of n, a(n) for n = 1..38 (terms < 10^13)

MATHEMATICA

SemiPrimeQ[n_Integer] := If[Abs[n] < 2, False, (2 == Plus @@ Transpose[FactorInteger[Abs[n]]][[2]])]; nextSemiprime[n_] := Module[{m = n + 1}, While[! SemiPrimeQ[m], m++]; m]; t = {{0, 0}}; s1 = nextSemiprime[1]; While[s1 < 10^7, s2 = nextSemiprime[s1]; d = s2 - s1; If[d > t[[-1, 1]], AppendTo[t, {d, s1}]; Print[{d, s1}]]; s1 = s2]; t = Rest[t]; Transpose[t][[2]]

PROG

(PARI) r=0; s=2; for(n=3, 1e7, if(bigomega(n)==2, if(n-s>r, r=n-s; print1(s", ")); s=n)) \\ Charles R Greathouse IV, Sep 07 2012

CROSSREFS

Cf. A001358 (semiprimes), A131109, A215231, A217851.

Cf. A002386 (increasing gaps between primes).

Sequence in context: A004399 A247558 A217836 * A186777 A028282 A200570

Adjacent sequences:  A215229 A215230 A215231 * A215233 A215234 A215235

KEYWORD

nonn,hard,nice

AUTHOR

T. D. Noe, Aug 07 2012

EXTENSIONS

a(27)-a(31) from Donovan Johnson, Aug 07 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 October 1 13:04 EDT 2020. Contains 337443 sequences. (Running on oeis4.)