OFFSET
1,2
COMMENTS
EXAMPLE
a(3) = 9, since 3^(Fibonacci(3) mod 3) = 3^(2 mod 3) = 3^2 = 9.
a(7) = 117649, since 7^(Fibonacci(7) mod 7) = 7^(13 mod 7) = 7^6 = 117649.
MAPLE
seq(n ^ (combinat:-fibonacci(n) mod n), n=1 .. 50); # Robert Israel, Dec 28 2014
MATHEMATICA
Table[n ^ Mod[Fibonacci[n], n], {n, 29}]
PROG
(PARI) a(n)=n^(fibonacci(n)%n) \\ Charles R Greathouse IV, Feb 02 2015
(Magma) [n^(Fibonacci(n) mod n): n in [1..30]]; // Vincenzo Librandi, Feb 03 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Carlos Eduardo Olivieri, Dec 26 2014
STATUS
approved