cp's OEIS Frontend

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.

A360591 Primes in A360464.

This page as a plain text file.
%I A360591 #47 Mar 04 2023 15:15:35
%S A360591 2,3,5,7,17,29,43,59,97,193,251,277,389,439,491,577,601,659,719,911,
%T A360591 1049,1237,1429,1511,1951,2141,2239,2293,2339,2441,3329,3449,3571,
%U A360591 3637,3821,3889,4079,4211,4481,4759,5569,5641,6269,6761,7537,7621,8161,8629,8719
%N A360591 Primes in A360464.
%C A360591 This sequence is finite and a(103) = A360464(457) = 61861 is the last term here, since A360464(k) is divisible by 5 for all k >= 458.
%F A360591 A000040 intersect A360464.
%t A360591 s[1] = s[2] = s[3] = 1; s[n_] := s[n] = s[n - 1] + s[n - 2] - s[n - 3] + GCD[s[n - 1], s[n - 3]]; Select[Array[s, 180], PrimeQ] (* _Amiram Eldar_, Feb 24 2023 *)
%Y A360591 Cf. A000040, A360464.
%K A360591 nonn,fini
%O A360591 1,1
%A A360591 _Jack Braxton_, Feb 12 2023