OFFSET
0,2
COMMENTS
Divisors of a(9)=2^(3^3)-1=2^27-1 are a(0),a(1),a(2),a(3),a(6),a(7),a(8),a(9). Divisors of a(3)=2^(3^2)-1=2^9-1 are a(0),a(1),a(2),a(3).
FORMULA
a(n)=sum{k=0..3n, (-1)^(3n-k)*L(C(3n,k)/3)*2^k} where L(j/p) is the Legendre symbol of j and p.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Apr 06 2006
STATUS
approved