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!)
A367692 G.f. A(x) satisfies A(x) = 1 / ((1 - x) * (1 - x * A(x^4))). 5
1, 2, 3, 4, 5, 8, 13, 20, 29, 43, 66, 102, 155, 233, 352, 536, 817, 1240, 1878, 2848, 4327, 6576, 9984, 15150, 22995, 34919, 53029, 80513, 122224, 185556, 281736, 427776, 649481, 986054, 1497069, 2272976, 3451038, 5239607, 7955067, 12077876, 18337503 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = 1 + Sum_{k=0..floor((n-1)/4)} a(k) * a(n-1-4*k).
PROG
(PARI) a_vector(n) = my(v=vector(n+1)); for(i=0, n, v[i+1]=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 A367692(n): return 1+sum(A367692(k)*A367692(n-1-(k<<2)) for k in range(n+3>>2)) # Chai Wah Wu, Nov 30 2023
CROSSREFS
Cf. A367660.
Sequence in context: A249581 A051706 A292325 * A307971 A346073 A211696
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Nov 27 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 7 16:13 EDT 2024. Contains 374107 sequences. (Running on oeis4.)