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.

A018216 Maximal number of subgroups in a group with n elements.

This page as a plain text file.
%I A018216 #20 Dec 27 2016 12:01:29
%S A018216 1,2,2,5,2,6,2,16,6,8,2,16,2,10,4,67,2,28,2,22,10,14,2,54,8,16,28,28,
%T A018216 2,28,2,374,4,20,4,78,2,22,16,76,2,36,2,40,12,26,2,236,10,64,4,46,2,
%U A018216 212,14,98,22,32,2,80,2,34,36,2825,4,52,2,58,4,52,2,272
%N A018216 Maximal number of subgroups in a group with n elements.
%C A018216 For n >= 2 a(n)>=2 with equality iff n is prime.
%C A018216 The minimal number of subgroups is A000005, the number of divisors of n, attained by the cyclic group of order n. - _Charles R Greathouse IV_, Dec 27 2016
%H A018216 Eric M. Schmidt, <a href="/A018216/b018216.txt">Table of n, a(n) for n = 1..511</a>
%F A018216 a(n)=Maximum of {A061034(n), A083573(n)}. - _Lekraj Beedassy_, Oct 22 2004
%F A018216 (C_2)^m has A006116(m) subgroups, so this is a lower bound if n is a power of 2 (e.g., a(16) >= 67). - _N. J. A. Sloane_, Dec 01 2007
%e A018216 a(6) = 6 because there are two groups with 6 elements: C_6 with 4 subgroups and S_3 with 6 subgroups.
%o A018216 (GAP) a:=function(n)
%o A018216   local gr, mx, t, g;
%o A018216   mx := 0;
%o A018216   gr := AllSmallGroups(n);
%o A018216   for g in gr do
%o A018216     t := Sum(ConjugacyClassesSubgroups(g),Size);
%o A018216     mx := Maximum(mx, t);
%o A018216   od;
%o A018216   return mx;
%o A018216 end; # _Charles R Greathouse IV_, Dec 27 2016
%Y A018216 Cf. A061034.
%K A018216 nonn,nice
%O A018216 1,2
%A A018216 Ola Veshta (olaveshta(AT)my-deja.com), May 23 2001
%E A018216 More terms from Victoria A. Sapko (vsapko(AT)canes.gsw.edu), Jun 13 2003
%E A018216 More terms from _Eric M. Schmidt_, Sep 07 2012