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!)
A344684 Sum of two consecutive products of Fibonacci and Pell numbers: F(n)*P(n) + F(n+1)*P(n+1). 0
1, 3, 12, 46, 181, 705, 2757, 10765, 42058, 164280, 641739, 2506789, 9792253, 38251227, 149420064, 583676434, 2280003517, 8906330973, 34790619369, 135901886149, 530870766310 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
a(n) is the numerator of the continued fraction [1,...,1,2,...,2] with n 1's followed by n 2's.
LINKS
FORMULA
a(n) = F(n)*P(n) + F(n+1)*P(n+1) for F(n) = A000045(n) the Fibonacci numbers and P(n) = A000129(n) the Pell numbers.
a(n) = 2*a(n-1) + 7*a(n-2) + 2*a(n-3) - a(n-4).
G.f.: (1 + x - x^2 - x^3)/(1 - 2*x - 7*x^2 - 2*x^3 + x^4).
a(n) = A001582(n-1) + A001582(n) for n >= 1.
EXAMPLE
For n=3, a(3)=46 which is F(3)*P(3) + F(4)*P(4) = 2*5 + 3*12 = 46. Also, the continued fraction [1,1,1,2,2,2] with 3 1's followed by 3 2's has numerator 46.
MATHEMATICA
Table[Fibonacci[n] Fibonacci[n, 2] + Fibonacci[n + 1] Fibonacci[n + 1, 2], {n, 0, 30}]
PROG
(PARI) P(n) = ([2, 1; 1, 0]^n)[2, 1]; \\ A000129
a(n) = fibonacci(n)*P(n)+ fibonacci(n+1)*P(n+1); \\ Michel Marcus, Aug 18 2021
CROSSREFS
Sequence in context: A370478 A108368 A264514 * A216946 A303191 A176310
KEYWORD
nonn,easy
AUTHOR
Greg Dresden and Hexuan Wang, Aug 17 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 April 23 09:48 EDT 2024. Contains 371905 sequences. (Running on oeis4.)