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 A005371 M3315 #59 Jul 03 2023 05:14:08 %S A005371 3,1,4,7,29,199,5778,1149851,6643838879,7639424778862807, %T A005371 50755107359004694554823204, %U A005371 387739824812222466915538827541705412334749,19679776435706023589554719270187913247121278789615838446937339578603 %N A005371 a(n) = L(L(n)), where L(n) are Lucas numbers A000032. %D A005371 T. Koshy (2001), Fibonacci and Lucas Numbers with Applications, John Wiley & Sons, New York, 511-516 %D A005371 N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence). %H A005371 T. D. Noe, <a href="/A005371/b005371.txt">Table of n, a(n) for n = 0..15</a> %p A005371 L:= n-> (<<0|1>, <1|1>>^n. <<2,1>>)[1,1]: %p A005371 a:= n-> L(L(n)): %p A005371 seq(a(n), n=0..14); # _Alois P. Heinz_, Jun 01 2016 %t A005371 l[n_]:= l[n]= l[n-1] + l[n-2]; l[0]= 2; l[1]= 1; Table[l[l[n]], {n,0,12}] %t A005371 LucasL[LucasL[Range[0, 15]]] (* _G. C. Greubel_, Dec 21 2017 *) %o A005371 (Magma) [ Lucas(Lucas(n)): n in [0..20]]; // _Vincenzo Librandi_, Apr 16 2011 %o A005371 (PARI) {lucas(n) = fibonacci(n+1) + fibonacci(n-1)}; %o A005371 for(n=0,15, print1(lucas(lucas(n)), ", ")) \\ _G. C. Greubel_, Dec 21 2017 %o A005371 (SageMath) [lucas_number2(lucas_number2(n, 1,-1),1,-1) for n in range(15)] # _G. C. Greubel_ Nov 14 2022 %Y A005371 Cf. A000032, A005372, A007570, A068096, A068098. %K A005371 easy,nonn %O A005371 0,1 %A A005371 _N. J. A. Sloane_ %E A005371 More terms from Mario Catalani (mario.catalani(AT)unito.it), Mar 14 2003 %E A005371 Offset changed Feb 28 2007