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.

A191900 Number of compositions of odd natural numbers into 7 parts <=n.

This page as a plain text file.
%I A191900 #19 Jul 22 2025 12:11:41
%S A191900 0,64,1093,8192,39062,139968,411771,1048576,2391484,5000000,9743585,
%T A191900 17915904,31374258,52706752,85429687,134217728,205169336,306110016,
%U A191900 446935869,640000000,900544270,1247178944,1702412723,2293235712,3051757812,4015905088
%N A191900 Number of compositions of odd natural numbers into 7 parts <=n.
%H A191900 Adi Dani, <a href="https://oeis.org/wiki/User:Adi_Dani_/Restricted_compositions_of_natural_numbers">Restricted compositions of natural numbers</a>
%H A191900 <a href="/index/Rec#order_09">Index entries for linear recurrences with constant coefficients</a>, signature (7,-20,28,-14,-14,28,-20,7,-1).
%F A191900 a(n) = ((n + 1)^7 - (1 + (-1)^n)/2)/2.
%F A191900 a(2*n+1) = A191494(2*n+1); a(2*n) = A191494(2*n)-1.
%F A191900 G.f.: x*(64+645*x+1821*x^2+1786*x^3+666*x^4+57*x^5+x^6) / ( (1+x)*(x-1)^8 ). - _R. J. Mathar_, Jun 22 2011
%e A191900 a(1)=64: the 64 compositions of odd numbers into 7 parts <=1
%e A191900   1:(0,0,0,0,0,0,1)-->7!/(6!1!)= 7
%e A191900   3:(0,0,0,0,1,1,1)-->7!/(4!3!)=35
%e A191900   5:(0,0,1,1,1,1,1)-->7!/(2!5!)=21
%e A191900   7:(1,1,1,1,1,1,1)-->7!/(0!7!)= 1.
%t A191900 Table[Floor[1/2*((n + 1)^7 - (1 + (-1)^n)/2)], {n, 0, 25}]
%o A191900 (PARI) a(n)=((n+1)^7-(1+(-1)^n)/2)/2 \\ _Charles R Greathouse IV_, Jul 06 2017
%K A191900 nonn,easy
%O A191900 0,2
%A A191900 _Adi Dani_, Jun 19 2011