Khaled
Reputation
352
Next privilege 500 Rep.
Access review queues
 Jan16 comment Counting Rows of a Truth Table that Satisfy a Condition @Code-Guru Could you please explain the combinatoric method for this specific example in an answer? Jan16 comment Counting Rows of a Truth Table that Satisfy a Condition @MJD Thank you very much, do keep me posted. Jan16 comment Counting Rows of a Truth Table that Satisfy a Condition I'm looking for a general algorithm, but an approach could help me find the general case myself - I guess I just need some guidance. :) Jan15 comment Counting Rows of a Truth Table that Satisfy a Condition To clarify my last paragraph in the question, I believe I can count rows that satisfy a certain condition - for example the condition $AB$ in a $4$-input function will have $\frac{16}{4}$ rows. My problem is in subtracting the common rows of multiple conditions. Jan15 comment Counting Rows of a Truth Table that Satisfy a Condition Say I have a $64$-input function, I don't want to generate a TT of $2^64$ rows just to count what could probably be counted using a summation. Jan15 comment Counting Rows of a Truth Table that Satisfy a Condition Thank you for your answer, however I specified I wanted the answer mathematically (ie. no drawing of a truth table). I don't understand why it is impossible - did you read my last paragraph? Oct28 comment Distribution of $\bmod$ on the $+$ operator Thank you very much my friend. Oct27 comment Distribution of $\bmod$ on the $+$ operator Thank you for your answer. Can you provide proof? Sep6 comment Fibonacci nth term @nayrb Yes, exactly. Sep3 comment Finding integer coordinates on a sphere's surface @GerryMyerson No this subject was discussed in my number theory class. I would also kindly request you stop accusing me of posting PE problems on every question I post. Sep3 comment Integer solutions of $p^2 + xp - 6y = \pm1$ Thank you for your answer. Can you explain this part please: "Any positive number congruent to −2 modulo 6"? Sep3 comment Finding integer coordinates on a sphere's surface @GerryMyerson Yet that question has no answer either. Sep2 comment Finding integer coordinates on a sphere's surface @Lubin Not necessarily, but it depends on what values of $r$ can generate solutions. Sep2 comment Finding integer coordinates on a sphere's surface @BillCook That gives points inside a circle, I require points on a surface. Aug31 comment Recursive number of divisors function And this will not work for the number-of-divisors function? Aug31 comment Recursive number of divisors function @GerryMyerson Yes and it didn't work (I tried 72 = 12*6), but I'm sure there must be a similar property since they are both multiplicative functions (I hope so anyway). Aug31 comment Recursive number of divisors function Could this be similar to the totient function which also has this property? Can I also say $\sigma(mn) = \sigma(m) * \sigma(n) * \frac{gcd(mn)}{\sigma(gcd(mn))}$? As per here: en.wikipedia.org/wiki/… Aug29 comment Finding the maximum remainder of a division @HassanMuhammad Both $x$ and $y$ are positive integers. Aug27 comment Generating integer solutions to $4mn - m^2 + n^2 = ±1$ Got it! Thank you for your answer Aug27 comment Generating integer solutions to $4mn - m^2 + n^2 = ±1$ Can you explain the completing the square method in this case? I'm not sure what value I should add and subtract exactly