OFFSET
1,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..20000
MAPLE
p:= (M, n, k)-> map(x-> x mod k, `if`(n=0, <<1|0>, <0|1>>,
`if`(n::even, p(M, n/2, k)^2, p(M, n-1, k).M))):
a:= n-> (q-> p(<<0|1>, <1|1>>, q, q^2)[1, 2])(ithprime(n)):
seq(a(n), n=1..80); # Alois P. Heinz, Oct 10 2015
PROG
(PARI) a(n) = my(p = prime(n)); fibonacci(p) % p^2; \\ Michel Marcus, Jan 29 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jan 28 2014
STATUS
approved