OFFSET
0,1
COMMENTS
LINKS
FORMULA
PROG
(PARI) A085405(n) = ((binomial((3*n)+2, n+1)/((3*n)+2))%2); \\ Antti Karttunen, Jan 12 2019
(PARI) A085405(n) = if(n%2, 0, while(n>0, my(nextn=(n>>1)); if(1==(nextn%2)*(n%2), return(0)); n = nextn); (1)); \\ (Much faster than above program) - Antti Karttunen, Jan 12 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Jun 29 2003
STATUS
approved