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.
%I A081017 #26 Jul 02 2025 16:02:01 %S A081017 0,10,75,520,3570,24475,167760,1149850,7881195,54018520,370248450, %T A081017 2537720635,17393796000,119218851370,817138163595,5600748293800, %U A081017 38388099893010,263115950957275,1803423556807920,12360848946698170 %N A081017 a(n) = Lucas(4n+1) - 1, or 5*Fibonacci(2n)*Fibonacci(2n+1). %D A081017 Hugh C. Williams, Edouard Lucas and Primality Testing, John Wiley and Sons, 1998, p. 75. %H A081017 G. C. Greubel, <a href="/A081017/b081017.txt">Table of n, a(n) for n = 0..1000</a> %H A081017 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (8,-8,1). %F A081017 a(n) = 8*a(n-1) - 8*a(n-2) + a(n-3). %F A081017 G.f.: 5*x*(2-x)/((1-x)*(1-7*x+x^2)). - _Colin Barker_, Apr 16 2012 %p A081017 with(combinat): option remember: if n=0 then RETURN(2) fi: if n=1 then RETURN(1) fi: luc(n-1)+luc(n-2): end: for n from 0 to 25 do printf(`%d,`,luc(4*n+1)-1) od: # _James Sellers_, Mar 03 2003 %t A081017 LucasL[4*Range[0,20]+1]-1 (* or *) LinearRecurrence[{8,-8,1},{0,10,75},20] (* _Harvey P. Dale_, Mar 02 2015 *) %o A081017 (PARI) vector(20, n, n--; f=fibonacci; f(4*n+2)+f(4*n)-1) \\ _G. C. Greubel_, Jul 14 2019 %o A081017 (Magma) [Lucas(4*n+1) -1: n in [0..20]]; // _G. C. Greubel_, Jul 14 2019 %o A081017 (Sage) [lucas_number2(4*n+1, 1,-1) - 1 for n in (0..20)] # _G. C. Greubel_, Jul 14 2019 %o A081017 (GAP) List([0..20], n-> Lucas(1,-1, 4*n+1)[2] -1 ); # _G. C. Greubel_, Jul 14 2019 %Y A081017 Cf. A000045 (Fibonacci numbers), A000032 (Lucas numbers). %K A081017 nonn,easy %O A081017 0,2 %A A081017 _R. K. Guy_, Mar 01 2003 %E A081017 More terms from _James Sellers_, Mar 03 2003