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!)
A346075 a(n) = 1 + Sum_{k=1..n-3} a(k) * a(n-k-3). 3
1, 1, 1, 1, 2, 3, 4, 6, 10, 16, 25, 41, 69, 115, 192, 326, 558, 955, 1641, 2839, 4930, 8578, 14972, 26222, 46037, 80988, 142793, 252307, 446617, 791885, 1406394, 2501642, 4456080, 7947963, 14194221, 25379751, 45430710, 81409233, 146028788, 262192876, 471193406 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
LINKS
FORMULA
G.f. A(x) satisfies: A(x) = 1 / (1 - x) + x^3 * A(x) * (A(x) - 1).
MATHEMATICA
a[n_] := a[n] = 1 + Sum[a[k] a[n - k - 3], {k, 1, n - 3}]; Table[a[n], {n, 0, 40}]
nmax = 40; A[_] = 0; Do[A[x_] = 1/(1 - x) + x^3 A[x] (A[x] - 1) + O[x]^(nmax + 1) // Normal, nmax + 1]; CoefficientList[A[x], x]
PROG
(SageMath)
@CachedFunction
def a(n): # a = A346075
if (n<4): return 1
else: return 1 + sum(a(k)*a(n-k-3) for k in range(1, n-2))
[a(n) for n in range(51)] # G. C. Greubel, Nov 27 2022
CROSSREFS
Sequence in context: A173697 A017986 A343304 * A352946 A342759 A293632
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 May 3 04:24 EDT 2024. Contains 372205 sequences. (Running on oeis4.)