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!)
A270821 Numbers n such that F(n) - n is a prime, where F(n) denotes the n-th Fibonacci number. 2
6, 8, 16, 26, 28, 76, 148, 159, 808, 848, 916, 1143, 4036, 4959, 43239, 73432, 98716, 144039, 146132 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
fibonacci(6) - 6 = 8 - 6 = 2 that is a prime;
fibonacci(8) - 8 = 21 - 8 = 13 that is a prime.
MAPLE
with(combinat): P:=proc(q) local n;
for n from 0 to q do
if isprime(fibonacci(n)-n) then print(n); fi; od; end: P(10^5);
MATHEMATICA
Select[Range[150000], PrimeQ[Fibonacci[#]-#]&] (* Harvey P. Dale, May 03 2018 *)
PROG
(PARI) lista(nn) = {for(n=1, nn, if(ispseudoprime(fibonacci(n)-n), print1(n, ", "))); } \\ Altug Alkan, Mar 30 2016
CROSSREFS
Sequence in context: A067543 A006583 A011989 * A139452 A245643 A299030
KEYWORD
nonn,more
AUTHOR
Paolo P. Lava, Mar 30 2016
EXTENSIONS
a(15)-a(19) from Giovanni Resta, Apr 14 2016
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 18 08:45 EDT 2024. Contains 372618 sequences. (Running on oeis4.)