login
This site is supported by donations 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

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 April 26 08:05 EDT 2019. Contains 322472 sequences. (Running on oeis4.)