OFFSET
1,2
COMMENTS
Primes can be classified according to their remainder modulo 210: remainder 1 (A073102), 11..113 (primes), 121 (composite), 127..139 (primes), 143 (composite), 149..167 (primes), 169 (composite), 173..181 (primes), 187 (composite), 191..199 (primes), or 209 (composite). In the sequence A008364 of all numbers (prime or composite) in any of these remainder classes, we look for runs of numbers that are successively prime or composite and place the lengths of these runs in this sequence.
EXAMPLE
Groups of runs in A008364 are (1), (11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113), (121), (127, 131, 137, 139), (143), (149, 151, ... ), which is 1 composite followed by 26 primes followed by 1 composite followed by 4 primes etc.
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Jul 06 2008
EXTENSIONS
First number in the comment corrected and entries checked by R. J. Mathar, Apr 28 2010
STATUS
approved