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
J. M. Bergot and Charles R Greathouse IV, Jul 11 2012
STATUS
approved