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.

A369705 Maximal coefficient of (1 + x) * (1 - x^2) * (1 + x^3) * ... * (1 - (-x)^n).

This page as a plain text file.
%I A369705 #10 Jan 30 2024 11:03:38
%S A369705 1,1,1,1,1,1,2,2,2,2,3,2,2,3,3,4,6,5,6,7,7,8,10,11,16,16,19,21,23,28,
%T A369705 34,41,50,56,68,80,91,110,135,158,196,225,269,320,376,447,544,644,786,
%U A369705 921,1111,1321,1573,1882,2274,2711,3280,3895,4694,5591,6718
%N A369705 Maximal coefficient of (1 + x) * (1 - x^2) * (1 + x^3) * ... * (1 - (-x)^n).
%p A369705 b:= proc(n) option remember; `if`(n=0, 1, expand(b(n-1)*(1-(-x)^n))) end:
%p A369705 a:= n-> max(coeffs(b(n))):
%p A369705 seq(a(n), n=0..60);  # _Alois P. Heinz_, Jan 29 2024
%t A369705 Table[Max[CoefficientList[Product[(1 - (-x)^k), {k, 1, n}], x]], {n, 0, 60}]
%o A369705 (PARI) a(n) = vecmax(Vec(prod(k=1, n, (1-(-x)^k)))); \\ _Michel Marcus_, Jan 30 2024
%Y A369705 Cf. A025591, A039828, A086376, A121373.
%K A369705 nonn
%O A369705 0,7
%A A369705 _Ilya Gutkovskiy_, Jan 29 2024