OFFSET
1,6
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A000045(n)^2 mod n.
MATHEMATICA
Array[PowerMod[Fibonacci[#], 2, #] &, 86] (* Michael De Vlieger, Aug 03 2022 *)
PROG
(PARI) a(n) = lift(Mod(fibonacci(n), n)^2); \\ Michel Marcus, Aug 03 2022
(Python)
from sympy import fibonacci
def a(n): return pow(fibonacci(n), 2, n)
print([a(n) for n in range(1, 87)]) # Michael S. Branicky, Aug 04 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. J. Mathar, Aug 03 2022
STATUS
approved