cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A253109 a(n) = n ^ (Fibonacci(n) mod n).

Original entry on oeis.org

1, 2, 9, 64, 1, 36, 117649, 32768, 4782969, 100000, 11, 1, 23298085122481, 793714773254144, 576650390625, 17592186044416, 48661191875666868481, 3570467226624, 19, 3200000, 4084101, 22, 907846434775996175406740561329, 1, 1, 236773830007967588876795164938469376
Offset: 1

Views

Author

Keywords

Comments

a(n) = 1 for n in A023172. a(n) = n for n in A023173. - Robert Israel, Dec 28 2014

Examples

			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.
		

Crossrefs

Programs

  • Magma
    [n^(Fibonacci(n) mod n): n in [1..30]]; // Vincenzo Librandi, Feb 03 2015
  • 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}]
  • PARI
    a(n)=n^(fibonacci(n)%n) \\ Charles R Greathouse IV, Feb 02 2015