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!)
A106789 Sum of two consecutive squares of Lucas 3-step numbers (A001644). 2

%I #15 Sep 08 2022 08:45:18

%S 10,10,58,170,562,1962,6562,22202,75242,254330,860474,2911226,9848050,

%T 33316090,112707970,381286954,1289885834,4363653034,14762129274,

%U 49939929610,168945571442,571538767370,1933501811618,6540989771354

%N Sum of two consecutive squares of Lucas 3-step numbers (A001644).

%C A106729 is sum of two consecutive squares of Lucas numbers (A001254), for which L(n)^2 + L(n+1)^2 = 5*{F(n)^2 + F(n+1)^2} = 5*A001519(n). Sum of two consecutive squares of Lucas 3-step numbers can be expressed in terms of tribonacci numbers, but not quite as neatly, as derived from the identity A001644(n) = T(n) + 2*T(n-1) + 3*T(n-2) = 3*T(n+1) - 2*T(n) - T(n-1) where the tribonacci numbers T(n) = A000073(n).

%H G. C. Greubel, <a href="/A106789/b106789.txt">Table of n, a(n) for n = 0..1000</a>

%F a(n) = A001644(n)^2 + A001644(n+1)^2.

%F G.f.: 2*(5 - 5*x + 4*x^2 - 18*x^3 - x^4 - 5*x^5)/((1+x+x^2-x^3)*(1-3*x-x^2-x^3)).

%e a(0) = A001644(0)^2 + A001644(1)^2 = 3^2 + 1^2 = 9 + 1 = 10.

%e a(1) = A001644(1)^2 + A001644(2)^2 = 1^2 + 3^2 = 1 + 9 = 10.

%e a(2) = A001644(2)^2 + A001644(3)^2 = 3^2 + 7^2 = 9 + 49 = 58.

%e a(3) = A001644(3)^2 + A001644(4)^2 = 7^2 + 11^2 = 49 + 121 = 170 = 13^2 + 1.

%t CoefficientList[Series[2*(5-5*x+4*x^2-18*x^3-x^4-5*x^5)/(1-2*x-3*x^2 -6*x^3+x^4+x^6), {x,0,40}], x] (* _G. C. Greubel_, Apr 21 2019 *)

%t Total/@Partition[LinearRecurrence[{1,1,1},{3,1,3},40]^2,2,1] (* _Harvey P. Dale_, Apr 03 2022 *)

%o (PARI) my(x='x+O('x^40)); Vec(2*(5-5*x+4*x^2-18*x^3-x^4-5*x^5)/(1-2*x-3*x^2-6*x^3+x^4+x^6)) \\ _G. C. Greubel_, Apr 21 2019

%o (Magma) R<x>:=PowerSeriesRing(Integers(), 40); Coefficients(R!( 2*(5-5*x+4*x^2-18*x^3-x^4-5*x^5)/(1-2*x-3*x^2-6*x^3+x^4+x^6) )); // _G. C. Greubel_, Apr 21 2019

%o (Sage) (2*(5-5*x+4*x^2-18*x^3-x^4-5*x^5)/(1-2*x-3*x^2-6*x^3+x^4+x^6)).series(x, 40).coefficients(x, sparse=False) # _G. C. Greubel_, Apr 21 2019

%Y Cf. A000073, A001644.

%Y Cf. A001254, A001519, A106729.

%K easy,nonn

%O 0,1

%A _Jonathan Vos Post_, May 16 2005

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 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)