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!)
A109823 a(n) is the minimal b >= n such that sum of consecutive integers from n to b is a semiprime. 2
3, 4, 7, 4, 8, 6, 8, 11, 9, 10, 15, 13, 16, 14, 15, 17, 18, 20, 20, 23, 21, 22, 35, 25, 25, 26, 28, 29, 32, 32, 36, 33, 33, 34, 35, 38, 42, 38, 39, 42, 45, 43, 44, 50, 46, 46, 48, 53, 49, 53, 51, 54, 56, 59, 55, 62, 57, 58, 60, 61, 62, 62, 68, 65, 65, 67, 70, 71, 69, 71, 72, 73 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
If n is a semiprime, a(n)=n. It is not evident that for any n there is relative a(n), see A109411. For n <1000, the corresponding a(n) exists. Cf. A109824(n) = A109823(n) - n + 1.
LINKS
MATHEMATICA
cis[n_]:=Module[{b=0}, While[PrimeOmega[(n(n+b))/2]!=2, b++]; n+b]; Array[ cis, 80] (* Harvey P. Dale, Mar 30 2014 *)
PROG
(PARI) { a(n) = my(s, m); s = n; m = n; while(bigomega(s)!=2, m++; s += m); m }
CROSSREFS
Sequence in context: A161775 A282535 A193967 * A337124 A267447 A071051
KEYWORD
nonn
AUTHOR
Zak Seidov & Max Alekseyev, Jul 03 2005
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 April 23 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)