BitFlip[n,k]
flips the bit corresponding to the coefficient of in the integer n.


BitFlip
BitFlip[n,k]
flips the bit corresponding to the coefficient of in the integer n.
Details

Examples
open all close allBasic Examples (1)
Scope (2)
See Also
Related Guides
History
Text
Wolfram Research (2024), BitFlip, Wolfram Language function, https://reference.wolfram.com/language/ref/BitFlip.html.
CMS
Wolfram Language. 2024. "BitFlip." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BitFlip.html.
APA
Wolfram Language. (2024). BitFlip. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BitFlip.html
BibTeX
@misc{reference.wolfram_2025_bitflip, author="Wolfram Research", title="{BitFlip}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/BitFlip.html}", note=[Accessed: 15-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_bitflip, organization={Wolfram Research}, title={BitFlip}, year={2024}, url={https://reference.wolfram.com/language/ref/BitFlip.html}, note=[Accessed: 15-August-2025]}