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.

A214300 Sum of the terms of the Pisano period mod n.

Original entry on oeis.org

0, 2, 9, 8, 40, 66, 49, 32, 99, 280, 33, 108, 156, 322, 285, 144, 272, 198, 133, 560, 105, 264, 529, 216, 1200, 1040, 945, 532, 116, 1770, 372, 608, 495, 544, 1365, 324, 1332, 228, 1053, 1120, 779, 798, 1849, 484, 2655, 1058, 705, 432, 2695, 7400, 1785, 1976, 2756
Offset: 1

Views

Author

Keywords

Comments

Row sums of A161553.

Crossrefs

Programs

  • PARI
    a(n)=if(n==1,return(0));my(a=0,b=1,s=1,t);while(b||a!=1,s+=a;t=a;a=b;b+=t;if(b>=n,b-=n));s

Formula

a(n) = n * A088551(n).