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!)
A297623 Numbers k such that Lucas(k) - prime(k) is a prime. 0
6, 9, 18, 33, 51, 54, 57, 189, 6948, 28617, 162864, 173682, 216870, 496533 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(15) > 5*10^5. - Robert Price, Feb 17 2018
LINKS
EXAMPLE
a(1) = 6 because Lucas(6)=18, prime(6)=13 and 18-13=5 is a prime.
MATHEMATICA
Select[Range[10000], PrimeQ[LucasL[#] - Prime[#]]&]
PROG
(Magma) [n: n in [1..5000] | IsPrime(Lucas(n)-NthPrime(n))];
CROSSREFS
Sequence in context: A045091 A086955 A270794 * A293283 A078415 A265099
KEYWORD
nonn,more
AUTHOR
Vincenzo Librandi, Jan 06 2018
EXTENSIONS
a(11)-a(14) from Robert Price, Feb 17 2018
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 April 20 00:58 EDT 2024. Contains 371798 sequences. (Running on oeis4.)