login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A336481
a(n) is the smallest positive k such that Fibonorial(n) - k is a prime, for n>3.
1
1, 1, 1, 1, 1, 11, 19, 19, 29, 19, 1, 1, 97, 41, 23, 131, 107, 53, 101, 529, 53, 269, 347, 97, 317, 97, 353, 73, 97, 193, 71, 1543, 661, 257, 193, 191, 151, 443, 167, 967, 251, 2441, 163, 151, 379, 229, 127, 59, 1223, 911, 389, 349, 919, 179, 1051, 167, 547, 541
OFFSET
4,6
EXAMPLE
For n=5, a(5) = Fibonorial(5) - 1 = 30 - 1 = 29 is a prime.
MATHEMATICA
Table[(Fibonorial[n]-NextPrime[Fibonorial[n], -1]), {n, 4, 50}]
PROG
(PARI) f(n) = prod(i=1, n, fibonacci(i)); \\ A003266
a(n) = my(fn=f(n)); fn - precprime(fn-1); \\ Michel Marcus, Jul 23 2020
CROSSREFS
Cf. A003266, A059709 (locations of 1's), A336480.
Sequence in context: A123248 A341899 A306920 * A111477 A344936 A238247
KEYWORD
nonn
AUTHOR
STATUS
approved