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.

A105994 Fibonacci sequence (mod 13).

Original entry on oeis.org

0, 1, 1, 2, 3, 5, 8, 0, 8, 8, 3, 11, 1, 12, 0, 12, 12, 11, 10, 8, 5, 0, 5, 5, 10, 2, 12, 1, 0, 1, 1, 2, 3, 5, 8, 0, 8, 8, 3, 11, 1, 12, 0, 12, 12, 11, 10, 8, 5, 0, 5, 5, 10, 2, 12, 1, 0, 1, 1, 2, 3, 5, 8, 0, 8, 8, 3, 11, 1, 12, 0, 12, 12, 11, 10, 8, 5, 0, 5, 5, 10, 2, 12, 1, 0, 1, 1, 2, 3, 5, 8, 0, 8, 8
Offset: 0

Views

Author

Shyam Sunder Gupta, May 05 2005

Keywords

Examples

			Sequence is periodic with Pisano period 28.
		

Crossrefs

Cf. A000045.

Programs

  • Magma
    [Fibonacci(n) mod 13: n in [0..100]]; // Vincenzo Librandi, Feb 04 2014
    
  • Mathematica
    Table[Mod[Fibonacci[n], 13], {n, 0, 100}](* Vincenzo Librandi, Feb 04 2014 *)
    PadRight[{},120,{0,1,1,2,3,5,8,0,8,8,3,11,1,12,0,12,12,11,10,8,5,0,5,5,10,2,12,1}] (* Harvey P. Dale, Oct 31 2021 *)
  • PARI
    a(n) = fibonacci(n) % 13; \\ Michel Marcus, Oct 01 2017

Extensions

a(0)=0 prepended by Vincenzo Librandi, Feb 04 2014