Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A364295
Numbers k such that A292943(k) = A292944(k).
5
1, 2, 3, 4, 6, 8, 9, 12, 16, 18, 24, 32, 36, 45, 48, 64, 72, 90, 96, 128, 144, 165, 180, 189, 192, 256, 288, 330, 360, 378, 384, 512, 576, 660, 720, 756, 768, 1024, 1152, 1320, 1440, 1512, 1536, 2048, 2304, 2640, 2880, 3024, 3072, 4096, 4608, 5280, 5760, 6048, 6144, 8192, 9216, 10560, 11520, 12096, 12288, 16384
OFFSET
1,2
COMMENTS
If n is present, then 2*n is also present, and vice versa.
A007283 is included as a subsequence, because it gives the known fixed points of map n -> A163511(n).
PROG
(PARI)
A004754(n) = (n+(1<<(#binary(n)-1)));
A053644(n) = { my(k=1); while(k<=n, k<<=1); (k>>1); };
A292272(n) = (n - bitand(n, n\2));
A292944(n) = (A292272(A004754(n)) - 2*A053644(n));
A054429(n) = ((3<<#binary(n\2))-n-1);
A156552(n) = { my(f = factor(n), p, p2 = 1, res = 0); for(i = 1, #f~, p = 1 << (primepi(f[i, 1]) - 1); res += (p * p2 * (2^(f[i, 2]) - 1)); p2 <<= f[i, 2]); res };
A243071(n) = if(n<=2, n-1, A054429(A156552(n)));
isA364295(n) = (A292943(n)==A292944(n));
CROSSREFS
Subsequences: A000079, A007283, A029744, A364296 (odd terms).
Cf. also A364494, A364496.
Sequence in context: A284698 A018452 A115422 * A364494 A344472 A018528
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 26 2023
STATUS
approved