The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A360591 Primes in A360464. 0
2, 3, 5, 7, 17, 29, 43, 59, 97, 193, 251, 277, 389, 439, 491, 577, 601, 659, 719, 911, 1049, 1237, 1429, 1511, 1951, 2141, 2239, 2293, 2339, 2441, 3329, 3449, 3571, 3637, 3821, 3889, 4079, 4211, 4481, 4759, 5569, 5641, 6269, 6761, 7537, 7621, 8161, 8629, 8719 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
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.
LINKS
FORMULA
A000040 intersect A360464.
MATHEMATICA
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 *)
CROSSREFS
Sequence in context: A262836 A356475 A178382 * A289757 A030480 A048418
KEYWORD
nonn,fini
AUTHOR
Jack Braxton, Feb 12 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 19 07:05 EDT 2024. Contains 372666 sequences. (Running on oeis4.)