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-2 of 2 results.

A367794 G.f. A(x) satisfies A(x) = 1 / (1 - x * A(x^4)).

Original entry on oeis.org

1, 1, 1, 1, 1, 2, 3, 4, 5, 7, 10, 14, 19, 26, 36, 50, 69, 95, 131, 181, 250, 346, 478, 660, 911, 1259, 1740, 2404, 3320, 4586, 6336, 8754, 12093, 16705, 23077, 31881, 44043, 60844, 84053, 116116, 160410, 221602, 306136, 422916, 584242, 807110, 1114996
Offset: 0

Views

Author

Seiichi Manyama, Nov 30 2023

Keywords

Crossrefs

Programs

  • PARI
    a_vector(n) = my(v=vector(n+1)); v[1]=1; for(i=1, n, v[i+1]=sum(j=0, (i-1)\4, v[j+1]*v[i-4*j])); v;
    
  • Python
    from functools import lru_cache
    @lru_cache(maxsize=None)
    def A367794(n): return sum(A367794(k)*A367794(n-1-(k<<2)) for k in range(n+3>>2)) if n else 1 # Chai Wah Wu, Nov 30 2023

Formula

a(0) = 1; a(n) = Sum_{k=0..floor((n-1)/4)} a(k) * a(n-1-4*k).

A367800 G.f. A(x) satisfies A(x) = 1 / (1 - x * A(x^8)).

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 14, 18, 23, 29, 36, 44, 53, 64, 78, 96, 119, 148, 184, 228, 281, 345, 423, 519, 638, 786, 970, 1198, 1479, 1824, 2247, 2766, 3404, 4190, 5160, 6358, 7837, 9661, 11908, 14674, 18078, 22268, 27428, 33786, 41623
Offset: 0

Views

Author

Seiichi Manyama, Dec 01 2023

Keywords

Comments

a(n) = A005710(n-1) up to n=72, but then the two sequences start to differ. - R. J. Mathar, Dec 04 2023

Crossrefs

Programs

  • PARI
    a_vector(n) = my(v=vector(n+1)); v[1]=1; for(i=1, n, v[i+1]=sum(j=0, (i-1)\8, v[j+1]*v[i-8*j])); v;

Formula

a(0) = 1; a(n) = Sum_{k=0..floor((n-1)/8)} a(k) * a(n-1-8*k).
Showing 1-2 of 2 results.