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 A208179 #13 Aug 03 2025 21:05:30 %S A208179 141,177,183,237,282,354,366,427,474,555,564,573,663,669,699,708,711, %T A208179 717,723,732,741,753,813,849,854,871,885,909,923,933,948,951,1047, %U A208179 1085,1110,1115,1119,1128,1131,1145,1146,1253,1265,1299,1326,1335 %N A208179 Numbers that match polynomials with coefficients in {0,1} that have a factor containing 2 as a coefficient; see Comments. %C A208179 The polynomials having coefficients in {0,1} are enumerated at A206073. They include the following: %C A208179 p(1,x) = 1 %C A208179 p(2,x) = x %C A208179 p(3,x) = x + 1 %C A208179 p(4,x) = x^2 %C A208179 p(141,x) = x^7 + x^3 + + x^2 + 1 = (x + 1)*f(x), where %C A208179 f(x) = x^6 - x^5 + x^4 - x^3 + 2*x^2 - x + 1. This shows that a factor of p(141,x) has a factor that has 2 as a coefficient. Actually, 141 is the least n for which p(n,x) has a coefficient not in {-1,0,1}. %C A208179 The enumeration scheme for all nonzero polynomials with coefficients in {0,1} is introduced in Comments at A206073. The sequence A206073 itself enumerates only those polynomials that are irreducible over the ring of polynomials having integer coefficients; therefore, A206073 and A208179 are disjoint. %e A208179 The first five polynomial factors having 2 as a coefficient are indicated here: %e A208179 n ..... coefficients of a factor of p(n,x) %e A208179 141 ... 1, -1, 2, -1, 1, -1, 1 (see Comments) %e A208179 177 ... 1, -1, 1, -1, 2, -1 %e A208179 183 ... 1, 0, 1, -1, 2, -1, 1 %e A208179 237 ... 1, -1, 2, -1, 1, 0, 1 %e A208179 282 ... 1, -1, 2, -1, 1, -1, 1 (same as for n=141) %t A208179 t = Table[IntegerDigits[n, 2], {n, 1, 3000}]; %t A208179 b[n_] := Reverse[Table[x^k, {k, 0, n}]] %t A208179 p[n_, x_] := p[n, x] = t[[n]].b[-1 + Length[t[[n]]]] %t A208179 TableForm[Table[{n, p[n, x], Factor[p[n, x]]}, {n, 1, 1500}]]; %t A208179 DeleteCases[ %t A208179 Map[{#[[1]], Cases[#[[2]], {___, 2, ___}]} &, %t A208179 Map[{#[[1]], CoefficientList[#[[2]], x]} &, %t A208179 Map[{#[[1]], Map[#[[1]] &, #[[2]]]} &, %t A208179 Map[{#[[1]], Rest[FactorList[#[[2]]]]} &, %t A208179 Table[{n, Factor[p[n, x]]}, {n, 1, 1500}]]]]], {_, {}}] %t A208179 Map[#[[1]] &, %] %t A208179 (* _Peter J. C. Moses_, Feb 22 2012 *) %Y A208179 Cf. A208180, A206073, A206284, A208181, A208182. %K A208179 nonn %O A208179 1,1 %A A208179 _Clark Kimberling_, Feb 24 2012