OFFSET
0
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..8192
FORMULA
a(0)=1, a(1)=1, a(p)=1 for primes p, and for composite n which are irreducible in GF(2)[X] (terms of A091214), a(n)=0, and for other composite n (terms of A091212), a(n) = 1 only if there exists at least one such pair of k, m < n that n = A048720(k,m) and a(k)*a(m) = 1, and 0 otherwise.
(Please compare also to the formula for A236862).
PROG
(Scheme, two quite inefficient implementations, which require also definec and/or GF2Xdivide from a linked Scheme-source file)
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 13 2014
STATUS
approved