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!)
A172182 Nonprimes of the form 6k + 1 or 6k + 2. 1

%I #16 Sep 08 2022 08:45:50

%S 1,8,14,20,25,26,32,38,44,49,50,55,56,62,68,74,80,85,86,91,92,98,104,

%T 110,115,116,121,122,128,133,134,140,145,146,152,158,164,169,170,175,

%U 176,182,187,188,194,200,205,206,212,217,218,224,230,235,236,242,247

%N Nonprimes of the form 6k + 1 or 6k + 2.

%F a(n) ~ 3n. - _Charles R Greathouse IV_, May 25 2011

%o (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

%Y Cf. A045375.

%K nonn,easy

%O 1,2

%A _Juri-Stepan Gerasimov_, Jan 28 2010

%E Entries checked by _R. J. Mathar_, May 22 2010

%E Retitled by _Charles R Greathouse IV_, May 25 2011

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 21:09 EDT 2024. Contains 371989 sequences. (Running on oeis4.)