login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A367794 G.f. A(x) satisfies A(x) = 1 / (1 - x * A(x^4)). 3
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,6
LINKS
FORMULA
a(0) = 1; a(n) = Sum_{k=0..floor((n-1)/4)} a(k) * a(n-1-4*k).
PROG
(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
CROSSREFS
Sequence in context: A247084 A017898 A003269 * A352043 A087221 A352041
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Nov 30 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 22 23:31 EDT 2024. Contains 374544 sequences. (Running on oeis4.)