%I #47 Mar 04 2023 15:15:35
%S 2,3,5,7,17,29,43,59,97,193,251,277,389,439,491,577,601,659,719,911,
%T 1049,1237,1429,1511,1951,2141,2239,2293,2339,2441,3329,3449,3571,
%U 3637,3821,3889,4079,4211,4481,4759,5569,5641,6269,6761,7537,7621,8161,8629,8719
%N Primes in A360464.
%C 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 A000040 intersect A360464.
%t 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 Cf. A000040, A360464.
%K nonn,fini
%O 1,1
%A _Jack Braxton_, Feb 12 2023
