OFFSET
1,3
EXAMPLE
MATHEMATICA
a[n_] := Mod[Fibonorial[n], Fibonacci[n + 1]]; Array[a, 50] (* Amiram Eldar, Mar 29 2024 *)
PROG
(Python)
from sympy import fibonacci
def a(n):
a_n = 1
mod = fibonacci(n + 1)
for i in range(1, n + 1):
a_n = (a_n * fibonacci(i)) % mod
return a_n
(PARI) a(n) = my(f=fibonacci(n+1)); lift(prod(k=1, n, Mod(fibonacci(k), f))); \\ Michel Marcus, Apr 03 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Adnan Baysal, Mar 29 2024
STATUS
approved