login
A100241
In binary representation of n, replace ones with n and zeros with n's binary complement (keeping leading zeros).
0
1, 1, 9, 15, 283, 341, 433, 511, 34679, 38505, 42405, 46267, 52275, 56621, 61153, 65535, 17284591, 18299345, 19314253, 20329075, 21352811, 22369621, 23386825, 24403703, 25959655, 27039961, 28120901, 29201275, 30306403, 31388765
OFFSET
0,3
COMMENTS
B(i*A070939(n))+j) = [b(i)=b(j)] where n=Sum(b(k)*2^k:0<=k < A070939(n)), a(n)=Sum(B(k)*2^k:0<=k < A070939(n)^2), 0<=b(k),B(k)<=1;
A070939(a(n)) = A070939(n)^2;
a(n) <= 2^(A070939(n)^2) - 1;
A023416(a(n)) = 2*A023416(n)*A000120(n);
A000120(a(n)) = A023416(n)^2 + A000120(n)^2;
a(2^k-1) = 2^(k^2)-1, a(A000225(k)) = A000225(k^2).
EXAMPLE
n=25 -> 11001 -> (11001)(11001)(00110)(00110)(11001) ->
-> 1100111001001100011011001 -> a(25) = 27039961.
CROSSREFS
Sequence in context: A316744 A158789 A355654 * A078794 A373332 A093595
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Dec 28 2004
STATUS
approved