login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A172182
Nonprimes of the form 6k + 1 or 6k + 2.
1
1, 8, 14, 20, 25, 26, 32, 38, 44, 49, 50, 55, 56, 62, 68, 74, 80, 85, 86, 91, 92, 98, 104, 110, 115, 116, 121, 122, 128, 133, 134, 140, 145, 146, 152, 158, 164, 169, 170, 175, 176, 182, 187, 188, 194, 200, 205, 206, 212, 217, 218, 224, 230, 235, 236, 242, 247
OFFSET
1,2
FORMULA
a(n) ~ 3n. - Charles R Greathouse IV, May 25 2011
PROG
(Magma) A172182:=func<n | exists{k: k in [0..n div 6] | n in [6*k+1, 6*k+2] and not IsPrime(n)}>; [ n: n in [1..247] | A172182(n) ]; // Bruno Berselli, May 25 2011
CROSSREFS
Cf. A045375.
Sequence in context: A374223 A063288 A136798 * A091575 A091572 A369644
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Entries checked by R. J. Mathar, May 22 2010
Retitled by Charles R Greathouse IV, May 25 2011
STATUS
approved