login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

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

Table of n, a(n) for n=1..14.

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

Cf. A000032, A000040, A050180, A288794.

Sequence in context: A045091 A086955 A270794 * A293283 A078415 A265099

Adjacent sequences:  A297620 A297621 A297622 * A297624 A297625 A297626

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 30 06:28 EST 2021. Contains 349419 sequences. (Running on oeis4.)