OFFSET
1,1
COMMENTS
For the 2nd, 5th and 8th term of the sequence, the quadratic residue set of the corresponding prime (5,13,37, of the form 4k+1) has been converted from symmetric to complementarily symmetric as 1001->1010, 101100001101->101100110010, 101100101111000100001000111101001101->101100101111000100110111000010110010, for the others (of the form 4k+3), it is the quadratic residue set encoded as in A055094 (with +1 mapped to 1 and -1 to 0).
LINKS
Antti Karttunen, Illustration of initial terms
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 11 2003
STATUS
approved