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!)
A025156 A prime number of consecutive composites follow n. 1
7, 8, 13, 14, 19, 20, 23, 25, 26, 31, 33, 34, 37, 38, 43, 44, 47, 49, 50, 53, 55, 56, 61, 63, 64, 67, 68, 73, 75, 76, 79, 80, 83, 85, 86, 89, 91, 93, 94, 97, 98, 103, 104, 109, 110, 113, 115, 119, 121, 123, 124, 127, 128, 131, 133, 134, 141, 143, 145 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
C. K. Caldwell, Composite Numbers.
EXAMPLE
a(1)=7 because 3 consecutive composites {8, 9 and 10} follow 7 and 3 is prime.
MATHEMATICA
Transpose[Select[Table[{n, NextPrime[n]-n-1}, {n, 300}], PrimeQ[ Last[#]]&]][[1]] (* Harvey P. Dale, May 26 2011 *)
CROSSREFS
Cf. A000040.
Sequence in context: A061905 A308887 A308833 * A228210 A045765 A118068
KEYWORD
easy,nice,nonn
AUTHOR
EXTENSIONS
More terms from Harvey P. Dale, May 26 2011
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 25 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)