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.

A096195 a(n) = number of distinct solutions to the set of equations 1 +- x +- x^2 +- ... +- x^n = 0 over the complex numbers.

This page as a plain text file.
%I A096195 #21 Mar 15 2015 20:11:49
%S A096195 2,8,16,64,106,324,696,1856,4046,10240,19084,49152,98110,218140,
%T A096195 464084,1047744,2123446,4718592,9632740,20666444
%N A096195 a(n) = number of distinct solutions to the set of equations 1 +- x +- x^2 +- ... +- x^n = 0 over the complex numbers.
%e A096195 a(2) = 8 because the set of equations 1 +- x +- x^2 = 0 generates 8 distinct solutions.
%t A096195 a[n_] := a[n] = Length[Union[ Flatten[x /. Table[Solve[1 + Sum[(-1)^IntegerDigits[k, 2, n + 1][[p + 1]]x^p, {p, n}] == 0], {k, 0, 2^n - 1}]]]]; Table[a[n], {n, 10}]
%Y A096195 Cf. A036289 (total number of solutions to the equations).
%K A096195 more,nonn
%O A096195 1,1
%A A096195 Josh Locker (jlocker(AT)mail.rochester.edu), Jul 26 2004
%E A096195 More terms from _Robert G. Wilson v_ and _Labos Elemer_, Jul 27 2004
%E A096195 a(17)-a(19) from _Robert G. Wilson v_, May 05 2013
%E A096195 a(20) from _Robert G. Wilson v_, May 05 2013