Score:1

Integer factorization $n = pq$ with additional knowledge of $\lfloor \sqrt{p} \rfloor \oplus \lfloor \sqrt{q}\rfloor$

tr flag

We know that we can factor integer $n = pq$ when we know that $p\oplus q$, where $\oplus$ means xor. If we know $\lfloor \sqrt{p} \rfloor \oplus \lfloor \sqrt{q}\rfloor$, can we factor $n$?

fgrieu avatar
ng flag
The question is unlikely to have any practical application to cryptography, but it's nevertheless fun. The answer might depend on $\log_2(n)$, and $-\log_2((p-q)/(p+q))$.
Myria avatar
in flag
Do you have a link on how to factor if you have the XOR of the two factors? That sounds like a cool trick. Knowing $p + q$ also factors $pq$.
vfenux avatar
tr flag
@Myria, https://math.stackexchange.com/questions/2087588/integer-factorization-with-additional-knowledge-of-p-oplus-q
vfenux avatar
tr flag
@fgrieu, I guess we can find all possible $\lfloor\sqrt{p}\rfloor$ and $\lfloor\sqrt{q}\rfloor$ first, but I don't know what to do.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.