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.
%I A192314 #41 Feb 24 2019 01:35:47 %S A192314 0,1,3,21,207,5559,299599,33562695,7635498335,3518440564543, %T A192314 3275345183542207,6148914696963883711,23248573454127484129023, %U A192314 176848577040808821410837119,2704321280486889389864215362559,83076749736557243209409446411255935,5124252113632955685095523500148980125695,634332307869315502692705867068871886072665599,157534492276509956656902449336997243381860518317055 %N A192314 For n >= 3, draw a regular n-sided polygon and its n*(n-3)/2 diagonals, so there are n*(n-1)/2 lines; a(n) is the number of ways to choose a nonempty subset of these lines (subsets differing by a rotation are regarded as identical). a(1)=0, a(2)=1 by convention. %C A192314 This is the number of ways to sew on a button having n holes arranged in a regular polygon. A button with no stitches would fall off, which is why we require that the subset be nonempty (cf. A192332). %C A192314 A. Kolmogorov posed the problem for n=4 at the age of 6. %D A192314 A. N. Shiryaev 'Andrei Nikolaevich Kolmogorov: A Biographical Sketch of His Life and Creative Paths' in Harold H. McFaden (translator), Kolmogorov in Perspective, American Mathematical Society (2000), page 4. %H A192314 Vincenzo Librandi, <a href="/A192314/b192314.txt">Table of n, a(n) for n = 1..80</a> %F A192314 a(p) = ((2^(p*(p-1)/2) - 2^((p-1)/2)) / p) + (2^((p-1)/2)) - 1 if p is prime. %F A192314 Comment from _N. J. A. Sloane_, Jun 28 2011: More generally, a(n) = (1/n)*(Sum_{d|n, d odd} phi(d)*2^(n*(n-1)/(2*d)) + Sum_{d|n, d even} phi(d)*2^(n^2/(2*d))) - 1. %p A192314 with(numtheory); f:=proc(n) local t0,t1,d; t0:=0; t1:=divisors(n); %p A192314 for d in t1 do %p A192314 if d mod 2 = 0 then t0:=t0+phi(d)*2^(n^2/(2*d)) %p A192314 else t0:=t0+phi(d)*2^(n*(n-1)/(2*d)); fi; od; t0/n; end; %p A192314 [seq(f(n)-1, n=1..30)]; %p A192314 # _N. J. A. Sloane_, Jun 28 2011 %t A192314 Table[ -1 + 1/n * Plus @@ Map[Function[d, EulerPhi[d]*2^((n*(n - Mod[d, 2])/2)/d)], Divisors[n]], {n, 1, 20}] (* _Olivier Gérard_, Aug 27 2011 *) %Y A192314 Cf. A192332, A191563. %K A192314 nonn %O A192314 1,3 %A A192314 _David N Lumsden_, Jun 27 2011 %E A192314 Terms from a(8) onwards from _N. J. A. Sloane_, Jun 28 2011