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.

A050180 Numbers m such that prime(m) + Fibonacci(m) is prime.

Original entry on oeis.org

1, 3, 12, 24, 42, 60, 132, 303, 312, 450, 564, 1236, 1419, 2952, 10098, 12060, 13848, 17229, 22356, 37896, 251904
Offset: 1

Views

Author

Jason Earls, Oct 06 2001

Keywords

Comments

a(22) > 256737. - J.W.L. (Jan) Eerland, Jun 22 2022

Crossrefs

Programs

  • Magma
    [n: n in [1..2000] | IsPrime(NthPrime(n)+Fibonacci(n))]; // Vincenzo Librandi, Jul 29 2016
  • 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 *)
  • PARI
    for(n=1,10^5, if(isprime(prime(n)+fibonacci(n)),print1(n," ")))
    

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