login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A214300
Sum of the terms of the Pisano period mod n.
4
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,2
COMMENTS
Row sums of A161553.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = n * A088551(n).
PROG
(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
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved