Why does $frac{u_5 operatorname{mod} u_4}{u_4 operatorname{mod} u_3} = u_3$ where $u_n$ is the number of Gray...

Why are on-board computers allowed to change controls without notifying the pilots?

Increase performance creating Mandelbrot set in python

I'm in charge of equipment buying but no one's ever happy with what I choose. How to fix this?

How does it work when somebody invests in my business?

Is HostGator storing my password in plaintext?

What't the meaning of this extra silence?

Is exact Kanji stroke length important?

Dot above capital letter not centred

Can criminal fraud exist without damages?

Modify casing of marked letters

when is out of tune ok?

Should my PhD thesis be submitted under my legal name?

Valid Badminton Score?

Teaching indefinite integrals that require special-casing

Hide Select Output from T-SQL

How do I rename a LINUX host without needing to reboot for the rename to take effect?

Can I use my Chinese passport to enter China after I acquired another citizenship?

Trouble understanding overseas colleagues

Is there an Impartial Brexit Deal comparison site?

Do there exist finite commutative rings with identity that are not Bézout rings?

What is the intuitive meaning of having a linear relationship between the logs of two variables?

Tiptoe or tiphoof? Adjusting words to better fit fantasy races

Coordinate position not precise

What is difference between behavior and behaviour



Why does $frac{u_5 operatorname{mod} u_4}{u_4 operatorname{mod} u_3} = u_3$ where $u_n$ is the number of Gray codes on $n$ bits


Why does $frac{1}{2}A_n(2)$ count the number of ordered set partitions?“Anti-Gray codes” that maximize the number of bits that change at each stepWhy does this imply these two numbers are the same mod 8?Why is there no indefinite integral for $int xmod{n}$ (where n can be any number)?Why does the following formula cycle the bits by shifting the binary representation from left to right?Checking the IBAN and dividing large numbers mod 97. Why does it work?Encoding the answers to questions somewhere in a binary treeHow does one prove that a natural number $x$ does not generate the multiplicative group of integers mod $4nx - 1$?Why does Pascal's Triangle (mod 2) encode the Fermat primes?Why does this sum converge: $sum_{k=2}^{n-1} frac{1}{k} frac{n mod k}{n}$













0












$begingroup$


Let $u_n$ be the number of Gray codes on $n$ bits. See the entry on OEIS - only five values are listed.



I noticed that $$frac{u_5 operatorname{mod} u_4}{u_4 operatorname{mod} u_3} = u_3$$



Or in IPython:



In [2]: import fractions

In [3]: fractions.Fraction(187499658240 % 91392, 91392 % 144)
Out[3]: Fraction(144, 1)


Is there a reason for that, or is it just a coincidence?



If the numbers 5, 4 and 3 are replaced with 4, 3 and 2 respectively, then the analagous claim doesn't hold because $$begin{aligned}u_3 operatorname{mod} u_2 &= 0\ u_4 operatorname{mod} u_3 &= 96end{aligned}$$



$96$ is also the number of cyclic Gray codes for $n=3$. So the coincidence is also that $$u_5 operatorname{mod} u_4 = [text{number of Gray codes for }n=3] times [text{number of cyclic Gray codes for }n=3]$$










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    I'm betting on coincidence. Given that it works once, and fails once, I see no reason to believe it's anything but coincidence. Given three positive integers, it's not hard to find an equation they satisfy.
    $endgroup$
    – Gerry Myerson
    Jul 21 '18 at 22:56
















0












$begingroup$


Let $u_n$ be the number of Gray codes on $n$ bits. See the entry on OEIS - only five values are listed.



I noticed that $$frac{u_5 operatorname{mod} u_4}{u_4 operatorname{mod} u_3} = u_3$$



Or in IPython:



In [2]: import fractions

In [3]: fractions.Fraction(187499658240 % 91392, 91392 % 144)
Out[3]: Fraction(144, 1)


Is there a reason for that, or is it just a coincidence?



If the numbers 5, 4 and 3 are replaced with 4, 3 and 2 respectively, then the analagous claim doesn't hold because $$begin{aligned}u_3 operatorname{mod} u_2 &= 0\ u_4 operatorname{mod} u_3 &= 96end{aligned}$$



$96$ is also the number of cyclic Gray codes for $n=3$. So the coincidence is also that $$u_5 operatorname{mod} u_4 = [text{number of Gray codes for }n=3] times [text{number of cyclic Gray codes for }n=3]$$










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    I'm betting on coincidence. Given that it works once, and fails once, I see no reason to believe it's anything but coincidence. Given three positive integers, it's not hard to find an equation they satisfy.
    $endgroup$
    – Gerry Myerson
    Jul 21 '18 at 22:56














0












0








0





$begingroup$


Let $u_n$ be the number of Gray codes on $n$ bits. See the entry on OEIS - only five values are listed.



I noticed that $$frac{u_5 operatorname{mod} u_4}{u_4 operatorname{mod} u_3} = u_3$$



Or in IPython:



In [2]: import fractions

In [3]: fractions.Fraction(187499658240 % 91392, 91392 % 144)
Out[3]: Fraction(144, 1)


Is there a reason for that, or is it just a coincidence?



If the numbers 5, 4 and 3 are replaced with 4, 3 and 2 respectively, then the analagous claim doesn't hold because $$begin{aligned}u_3 operatorname{mod} u_2 &= 0\ u_4 operatorname{mod} u_3 &= 96end{aligned}$$



$96$ is also the number of cyclic Gray codes for $n=3$. So the coincidence is also that $$u_5 operatorname{mod} u_4 = [text{number of Gray codes for }n=3] times [text{number of cyclic Gray codes for }n=3]$$










share|cite|improve this question











$endgroup$




Let $u_n$ be the number of Gray codes on $n$ bits. See the entry on OEIS - only five values are listed.



I noticed that $$frac{u_5 operatorname{mod} u_4}{u_4 operatorname{mod} u_3} = u_3$$



Or in IPython:



In [2]: import fractions

In [3]: fractions.Fraction(187499658240 % 91392, 91392 % 144)
Out[3]: Fraction(144, 1)


Is there a reason for that, or is it just a coincidence?



If the numbers 5, 4 and 3 are replaced with 4, 3 and 2 respectively, then the analagous claim doesn't hold because $$begin{aligned}u_3 operatorname{mod} u_2 &= 0\ u_4 operatorname{mod} u_3 &= 96end{aligned}$$



$96$ is also the number of cyclic Gray codes for $n=3$. So the coincidence is also that $$u_5 operatorname{mod} u_4 = [text{number of Gray codes for }n=3] times [text{number of cyclic Gray codes for }n=3]$$







combinatorics modular-arithmetic coding-theory gray-code






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Mar 15 at 9:41









YuiTo Cheng

2,1362837




2,1362837










asked Jul 21 '18 at 20:50









man on laptopman on laptop

5,78611438




5,78611438








  • 1




    $begingroup$
    I'm betting on coincidence. Given that it works once, and fails once, I see no reason to believe it's anything but coincidence. Given three positive integers, it's not hard to find an equation they satisfy.
    $endgroup$
    – Gerry Myerson
    Jul 21 '18 at 22:56














  • 1




    $begingroup$
    I'm betting on coincidence. Given that it works once, and fails once, I see no reason to believe it's anything but coincidence. Given three positive integers, it's not hard to find an equation they satisfy.
    $endgroup$
    – Gerry Myerson
    Jul 21 '18 at 22:56








1




1




$begingroup$
I'm betting on coincidence. Given that it works once, and fails once, I see no reason to believe it's anything but coincidence. Given three positive integers, it's not hard to find an equation they satisfy.
$endgroup$
– Gerry Myerson
Jul 21 '18 at 22:56




$begingroup$
I'm betting on coincidence. Given that it works once, and fails once, I see no reason to believe it's anything but coincidence. Given three positive integers, it's not hard to find an equation they satisfy.
$endgroup$
– Gerry Myerson
Jul 21 '18 at 22:56










0






active

oldest

votes











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2858875%2fwhy-does-fracu-5-operatornamemod-u-4u-4-operatornamemod-u-3-u-3-w%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2858875%2fwhy-does-fracu-5-operatornamemod-u-4u-4-operatornamemod-u-3-u-3-w%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Magento 2 - Add success message with knockout Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Success / Error message on ajax request$.widget is not a function when loading a homepage after add custom jQuery on custom themeHow can bind jQuery to current document in Magento 2 When template load by ajaxRedirect page using plugin in Magento 2Magento 2 - Update quantity and totals of cart page without page reload?Magento 2: Quote data not loaded on knockout checkoutMagento 2 : I need to change add to cart success message after adding product into cart through pluginMagento 2.2.5 How to add additional products to cart from new checkout step?Magento 2 Add error/success message with knockoutCan't validate Post Code on checkout page

Fil:Tokke komm.svg

Where did Arya get these scars? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Favourite questions and answers from the 1st quarter of 2019Why did Arya refuse to end it?Has the pronunciation of Arya Stark's name changed?Has Arya forgiven people?Why did Arya Stark lose her vision?Why can Arya still use the faces?Has the Narrow Sea become narrower?Does Arya Stark know how to make poisons outside of the House of Black and White?Why did Nymeria leave Arya?Why did Arya not kill the Lannister soldiers she encountered in the Riverlands?What is the current canonical age of Sansa, Bran and Arya Stark?