Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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!)
A060977 The nonprimes n!+2 ... n!+n are the a(n)-th string of n-1 prime-free consecutive terms, the first such one being the string of composite numbers A000230(k)+1 through A001632(k)-1 when n=2k, or through A001632(k)-2 when n=2k-1. 0
0, 1, 1, 6, 27, 208, 1755, 16363, 161685, 1736749, 20022517, 250566242, 3359504253 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
The sequence grows rapidly, like the factorial function.
LINKS
EXAMPLE
The prime-free sequence 4! + 2 through 4! + 4, i.e., {26, 27, 28}, ranks as the a(4) = 6th triple of consecutive composite numbers, as it comes after {8, 9, 10}, {14, 15, 16}, {20, 21, 22}, {24, 25, 26}, {25, 26, 27}.
MATHEMATICA
Do[ c = 0; a = Table[0, {n - 1} ]; k = 2; While[ k < n! + n + 1, a = Delete[a, 1]; a = Append[a, PrimeQ[k] ]; If[ Union[a] == {False}, c++ ]; k++ ]; Print[c], {n, 2, 12} ]
CROSSREFS
Sequence in context: A092854 A223557 A289022 * A267630 A351737 A047778
KEYWORD
more,nonn,nice
AUTHOR
Lekraj Beedassy, May 10 2001
EXTENSIONS
Corrected and extended by Larry Reeves (larryr(AT)acm.org), May 25 2001
More terms from Robert G. Wilson v, Aug 17 2001
a(13) from Sean A. Irvine, Jan 11 2023
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 August 18 19:11 EDT 2024. Contains 375273 sequences. (Running on oeis4.)