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.

Showing 1-5 of 5 results.

A373908 Number of compositions of 7*n into parts 2 and 7.

Original entry on oeis.org

1, 1, 2, 9, 38, 136, 452, 1495, 5031, 17114, 58282, 198032, 671856, 2278870, 7731892, 26238839, 89047335, 302191369, 1025487338, 3479970844, 11809261583, 40074827170, 135994407483, 461498426696, 1566098800484, 5314568565096, 18035031128780, 61202027710656
Offset: 0

Views

Author

Seiichi Manyama, Jun 22 2024

Keywords

Crossrefs

Programs

  • PARI
    a(n) = sum(k=0, n\2, binomial(n+5*k, n-2*k));

Formula

a(n) = A369813(7*n).
a(n) = Sum_{k=0..floor(n/2)} binomial(n+5*k,n-2*k).
a(n) = 7*a(n-1) - 20*a(n-2) + 35*a(n-3) - 35*a(n-4) + 21*a(n-5) - 7*a(n-6) + a(n-7).
G.f.: 1/(1 - x - x^2/(1 - x)^6).

A369805 Expansion of 1/(1 - x^2/(1-x)^7).

Original entry on oeis.org

1, 0, 1, 7, 29, 98, 316, 1043, 3536, 12083, 41168, 139750, 473824, 1607014, 5453022, 18506947, 62808496, 213144034, 723295969, 2454483506, 8329290739, 28265565587, 95919580313, 325504019213, 1104600373788, 3748469764612, 12720462563684, 43166996581876
Offset: 0

Views

Author

Seiichi Manyama, Feb 01 2024

Keywords

Comments

Number of compositions of 7*n-2 into parts 2 and 7.

Crossrefs

Programs

  • PARI
    my(N=30, x='x+O('x^N)); Vec(1/(1-x^2/(1-x)^7))
    
  • PARI
    a(n) = sum(k=0, n\2, binomial(n-1+5*k, n-2*k));

Formula

a(n) = A369813(7*n-2) for n > 0.
a(n) = 7*a(n-1) - 20*a(n-2) + 35*a(n-3) - 35*a(n-4) + 21*a(n-5) - 7*a(n-6) + a(n-7) for n > 7.
a(n) = Sum_{k=0..floor(n/2)} binomial(n-1+5*k,n-2*k).

A369814 Expansion of 1/(1 - x^3 - x^7).

Original entry on oeis.org

1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 2, 0, 1, 3, 1, 1, 4, 3, 1, 5, 6, 2, 6, 10, 5, 7, 15, 11, 9, 21, 21, 14, 28, 36, 25, 37, 57, 46, 51, 85, 82, 76, 122, 139, 122, 173, 224, 204, 249, 346, 343, 371, 519, 567, 575, 768, 913, 918, 1139, 1432, 1485, 1714, 2200, 2398, 2632, 3339, 3830, 4117, 5053, 6030, 6515, 7685
Offset: 0

Views

Author

Seiichi Manyama, Feb 02 2024

Keywords

Comments

Number of compositions of n into parts 3 and 7.

Crossrefs

Programs

  • PARI
    my(N=80, x='x+O('x^N)); Vec(1/(1-x^3-x^7))
    
  • PARI
    a(n) = sum(k=0, n\7, ((n-4*k)%3==0)*binomial((n-4*k)/3, k));

Formula

a(n) = a(n-3) + a(n-7).

A369815 Expansion of 1/(1 - x^4 - x^7).

Original entry on oeis.org

1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 2, 1, 0, 1, 3, 1, 0, 3, 4, 1, 1, 6, 5, 1, 4, 10, 6, 2, 10, 15, 7, 6, 20, 21, 9, 16, 35, 28, 15, 36, 56, 37, 31, 71, 84, 52, 67, 127, 121, 83, 138, 211, 173, 150, 265, 332, 256, 288, 476, 505, 406, 553, 808, 761, 694, 1029, 1313, 1167, 1247, 1837, 2074, 1861, 2276, 3150, 3241
Offset: 0

Views

Author

Seiichi Manyama, Feb 02 2024

Keywords

Comments

Number of compositions of n into parts 4 and 7.

Crossrefs

Programs

  • PARI
    my(N=80, x='x+O('x^N)); Vec(1/(1-x^4-x^7))
    
  • PARI
    a(n) = sum(k=0, n\7, ((n-3*k)%4==0)*binomial((n-3*k)/4, k));

Formula

a(n) = a(n-4) + a(n-7).

A369816 Expansion of 1/(1 - x^5 - x^7).

Original entry on oeis.org

1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 2, 0, 1, 1, 0, 3, 0, 3, 1, 1, 4, 0, 6, 1, 4, 5, 1, 10, 1, 10, 6, 5, 15, 2, 20, 7, 15, 21, 7, 35, 9, 35, 28, 22, 56, 16, 70, 37, 57, 84, 38, 126, 53, 127, 121, 95, 210, 91, 253, 174, 222, 331, 186, 463, 265, 475, 505, 408, 794, 451, 938, 770, 883, 1299, 859, 1732, 1221
Offset: 0

Views

Author

Seiichi Manyama, Feb 02 2024

Keywords

Comments

Number of compositions of n into parts 5 and 7.

Crossrefs

Programs

  • PARI
    my(N=80, x='x+O('x^N)); Vec(1/(1-x^5-x^7))
    
  • PARI
    a(n) = sum(k=0, n\7, ((n-2*k)%5==0)*binomial((n-2*k)/5, k));

Formula

a(n) = a(n-5) + a(n-7).
G.f.: 1/((1-x+x^2)*(1+x-x^3-x^4-x^5)). - R. J. Mathar, Jul 03 2024
Showing 1-5 of 5 results.