login
n-th Fibonacci number minus n-th prime number.
3

%I #11 Sep 08 2022 08:45:15

%S -1,-2,-3,-4,-6,-5,-4,2,11,26,58,107,192,334,563,934,1538,2523,4114,

%T 6694,10873,17632,28574,46279,74928,121292,196315,317704,514120,

%U 831927,1346142,2178178,3524441,5702748,9227316,14930201,24157660,39088006,63245819

%N n-th Fibonacci number minus n-th prime number.

%H Vincenzo Librandi, <a href="/A100700/b100700.txt">Table of n, a(n) for n = 1..1000</a>

%e a(12) = 107 because the 12th Fibonacci number is 144, the 12th prime number is 37 and 144 - 37 = 107.

%t Table[Fibonacci[n] - Prime[n], {n, 35}]

%o (Magma) [Fibonacci(n) - NthPrime(n): n in [1..40]]; // _Vincenzo Librandi_, May 20 2016

%Y Cf. A004397, A064497.

%K sign

%O 1,2

%A _Alonso del Arte_, Dec 09 2004