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 A221183 #14 Jan 05 2025 19:51:40 %S A221183 0,1,2,5,3,11,5,7,19,5,29,7,43,31,7,5,17,13,43,11,13,37,29,19,67,17, %T A221183 101,73,19,37,31,11,53,13,79,19,13,5,23,17,19,11,41,31,103,79,29,137, %U A221183 101,113,109,331,257,13,283,193,223,71,73,31,5,41,29,11,17,5,3,11,5,7,19,5,29,7,43,31,7,5,17 %N A221183 a(0)=0, a(1)=1; thereafter a(n) = gpf(2*a(n-1)+a(n-2)), where gpf = "greatest prime factor" (A006530). %C A221183 Rapidly enters a loop of length 62: [5, 3, 11, 5, 7, 19, 5, 29, 7, 43, 31, 7, 5, 17, 13, 43, 11, 13, 37, 29, 19, 67, 17, 101, 73, 19, 37, 31, 11, 53, 13, 79, 19, 13, 5, 23, 17, 19, 11, 41, 31, 103, 79, 29, 137, 101, 113, 109, 331, 257, 13, 283, 193, 223, 71, 73, 31, 5, 41, 29, 11, 17]. %H A221183 Greg Back and Mihai Caragiu, <a href="https://web.archive.org/web/2024*/https://www.fq.math.ca/Papers1/48-4/Back_Caragiu.pdf">The Greatest Prime Factor and Recurrent Sequences</a>, Fibonacci Quart. 48 (2010), no. 4, 358-362. [Discusses similar sequences] %o A221183 (PARI) gpf(n) = if (n==1, 1, vecmax(factor(n)[,1])); %o A221183 lista(nn) = {print1(x=0, ", "); print1(y=1, ", "); for (n=2, nn, z = gpf(x+2*y); print1(z, ", "); x = y; y = z;);} \\ _Michel Marcus_, Mar 01 2016 %Y A221183 Cf. A006530, A175723. %K A221183 nonn %O A221183 0,3 %A A221183 _Gary W. Adamson_ and _N. J. A. Sloane_, Jan 19 2013