OFFSET
1,2
COMMENTS
It would be natural to prepend an initial term a(1)=0 (for which the sum is to be considered empty, thus zero), but we omit it to avoid confusion w.r.t. indices of A107755.
LINKS
M. F. Hasler, Table of n, a(n) for n = 1..499.
FORMULA
PROG
(PARI) n=0; A137821=vector(499, i, { if( bitand(i, i-1), while(n++ & s+=binomial(4*n-2, 2*n-1)/(2*n)*(10*n-1)/(2*n+1), ), s=Mod(0, 3); n=2*n+1+log(i+.5)\log(2)%2 ); n})
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Feb 25 2008
STATUS
approved