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!)
A050180 Numbers m such that prime(m) + Fibonacci(m) is prime. 3
1, 3, 12, 24, 42, 60, 132, 303, 312, 450, 564, 1236, 1419, 2952, 10098, 12060, 13848, 17229, 22356, 37896, 251904 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(22) > 256737. - J.W.L. (Jan) Eerland, Jun 22 2022
LINKS
MATHEMATICA
Do[ If[ PrimeQ[ Prime[n] + Fibonacci[n]], Print[n] ], {n, 1, 150000} ]
Select[Range[10000], PrimeQ[Fibonacci[#] + Prime[#]] &] (* Vincenzo Librandi, Jul 29 2016
DeleteCases[ParallelTable[If[PrimeQ[Prime[n]+Fibonacci[n]], n, a], {n, 0, 256737}], a] (* J.W.L. (Jan) Eerland, Jun 22 2022 *)
PROG
(PARI) for(n=1, 10^5, if(isprime(prime(n)+fibonacci(n)), print1(n, " ")))
(Magma) [n: n in [1..2000] | IsPrime(NthPrime(n)+Fibonacci(n))]; // Vincenzo Librandi, Jul 29 2016
CROSSREFS
Cf. A004397.
Sequence in context: A030571 A297675 A112236 * A319422 A272173 A028725
KEYWORD
nonn,more
AUTHOR
Jason Earls, Oct 06 2001
EXTENSIONS
More terms from Robert G. Wilson v, Oct 08 2001
a(18)-a(19) from Vincenzo Librandi, Apr 10 2020
a(20) from J.W.L. (Jan) Eerland, Dec 23 2021
a(21) from J.W.L. (Jan) Eerland, Jun 22 2022
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 15 17:15 EDT 2024. Contains 372548 sequences. (Running on oeis4.)