The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A346076 a(n) = 1 + Sum_{k=1..n-4} a(k) * a(n-k-4). 3
1, 1, 1, 1, 1, 2, 3, 4, 5, 7, 11, 17, 25, 36, 54, 84, 131, 201, 307, 475, 745, 1172, 1837, 2878, 4531, 7173, 11381, 18057, 28669, 45624, 72796, 116336, 186066, 297865, 477505, 766621, 1232214, 1982292, 3191693, 5143974, 8298640, 13399691, 21652705, 35014373, 56663700 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,6
LINKS
FORMULA
G.f. A(x) satisfies: A(x) = 1 / (1 - x) + x^4 * A(x) * (A(x) - 1).
MATHEMATICA
a[n_] := a[n] = 1 + Sum[a[k] a[n - k - 4], {k, 1, n - 4}]; Table[a[n], {n, 0, 44}]
nmax = 44; A[_] = 0; Do[A[x_] = 1/(1 - x) + x^4 A[x] (A[x] - 1) + O[x]^(nmax + 1) // Normal, nmax + 1]; CoefficientList[A[x], x]
PROG
(SageMath)
@CachedFunction
def a(n): # a = A346076
if (n<5): return 1
else: return 1 + sum(a(k)*a(n-k-4) for k in range(1, n-3))
[a(n) for n in range(51)] # G. C. Greubel, Nov 27 2022
CROSSREFS
Sequence in context: A245823 A143284 A343305 * A339357 A279065 A327325
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jul 04 2021
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 June 5 22:26 EDT 2024. Contains 373110 sequences. (Running on oeis4.)