cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A172182 Nonprimes of the form 6k + 1 or 6k + 2.

This page as a plain text file.
%I A172182 #16 Sep 08 2022 08:45:50
%S A172182 1,8,14,20,25,26,32,38,44,49,50,55,56,62,68,74,80,85,86,91,92,98,104,
%T A172182 110,115,116,121,122,128,133,134,140,145,146,152,158,164,169,170,175,
%U A172182 176,182,187,188,194,200,205,206,212,217,218,224,230,235,236,242,247
%N A172182 Nonprimes of the form 6k + 1 or 6k + 2.
%F A172182 a(n) ~ 3n. - _Charles R Greathouse IV_, May 25 2011
%o A172182 (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 A172182 Cf. A045375.
%K A172182 nonn,easy
%O A172182 1,2
%A A172182 _Juri-Stepan Gerasimov_, Jan 28 2010
%E A172182 Entries checked by _R. J. Mathar_, May 22 2010
%E A172182 Retitled by _Charles R Greathouse IV_, May 25 2011