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.

A378698 Number of compositions of n into parts whose sizes are Fibonacci or Lucas numbers.

This page as a plain text file.
%I A378698 #21 Mar 31 2025 04:49:55
%S A378698 1,1,2,4,8,16,31,62,123,243,481,953,1887,3737,7399,14652,29014,57452,
%T A378698 113767,225279,446095,883352,1749201,3463746,6858864,13581833,
%U A378698 26894570,53256275,105457382,208825335,413513204,818833458,1621443338,3210760963,6357907009
%N A378698 Number of compositions of n into parts whose sizes are Fibonacci or Lucas numbers.
%C A378698 a(n+1)/a(n) approximate the constant r = 1.9801869...
%F A378698 G.f.: 1/(1 - Sum_{k>=1} x^A116470(k)). - _Thomas Scheuerle_, Dec 04 2024
%o A378698 (PARI)
%o A378698 A116470(n) = if(n<6, n, if(n%2, fibonacci(n\2+3), fibonacci(n\2)+fibonacci(n\2+2)))
%o A378698 a(max_n) = {Vec(1/(1+sum(k=1,max_n-1, -1*x^A116470(k)))+O(x^max_n)); } \\ _Thomas Scheuerle_, Dec 04 2024
%Y A378698 Cf. A000032, A000045, A116470.
%Y A378698 Cf. A076739, A288039.
%K A378698 nonn
%O A378698 0,3
%A A378698 _Davide Rotondo_, Dec 04 2024