OFFSET
0,2
COMMENTS
The binary width of terms are 1, 3, 5, 7, 9, ... i.e., the successive odd numbers, as their partial sums give the squares, 1, 4, 9, 16, ... at which points there certainly is always a quadratic residue, which thus gives the most significant bit for each number.
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..256
Antti Karttunen, Terms a(0)-a(255) drawn as a bit triangle, 1 pixel per bit.
Antti Karttunen, Terms a(0)-a(255) drawn as a bit triangle, 2x2 pixels per bit.
Antti Karttunen, Terms a(0)-a(255) drawn as a bit triangle, 3x3 pixels per bit.
EXAMPLE
PROG
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Jul 27 2010
STATUS
approved