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 A081173 #17 Jun 21 2022 18:30:51 %S A081173 2,3,11,41,17,97,3137,13499,60741001,14158633,7424699571433, %T A081173 18375387908679124623224497,152868746152697352174823427, %U A081173 114585848725150699093848122619332057,2117552824725684501808097956698634897,34759922213207174486822944687721824905112848905750167403101021576017059,57191433705834025254780615830990723253902440879104281100230506839641 %N A081173 a(1) = 2, then a(n) = greatest prime factor of (a(n-1)^2+2). %D A081173 Teske, Edlyn and Williams, Hugh C., A note on Shanks's chains of primes, in Algorithmic number theory (Leiden, 2000), 563-580, Lecture Notes in Comput. Sci., 1838, Springer, Berlin, 2000. %H A081173 Dennis Langdeau, <a href="/A081173/b081173.txt">Table of n, a(n) for n = 1..20</a> %e A081173 a(2) = 3 because 3 is greatest prime factor of 2^2+2. a(3)=11 because 3^2+2 is prime. %t A081173 a[1]=2; a[n_] := a[n]=FactorInteger[a[n-1]^2+2][[ -1, 1]] %t A081173 NestList[FactorInteger[#^2+2][[-1,1]]&,2,15] (* _Harvey P. Dale_, Jun 21 2022 *) %Y A081173 Cf. A083388. %K A081173 nonn %O A081173 1,1 %A A081173 _Donald S. McDonald_, Apr 17 2003 %E A081173 More terms from _Donald S. McDonald_, Apr 20 2003 %E A081173 More terms from _Robert G. Wilson v_ and _Dean Hickerson_, Apr 22 2003 %E A081173 More terms from Dennis Langdeau (dlangdea(AT)sfu.ca), Jun 18 2006 %E A081173 Definition clarified by _Harvey P. Dale_, Jun 21 2022