Khaled
Reputation
379
Next privilege 500 Rep.
Access review queues
 Mar 17 comment Optimization problem, choose n from set where $f(n)$ is maximized and $g(n)$ is minimized @TravisJ What are the ways to solve that problem you specified? Jan 16 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? Jan 16 comment Counting Rows of a Truth Table that Satisfy a Condition @MJD Thank you very much, do keep me posted. Jan 16 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. :) Jan 15 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. Jan 15 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. Jan 15 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? Oct 28 comment Distribution of $\bmod$ on the $+$ operator Thank you very much my friend. Oct 27 comment Distribution of $\bmod$ on the $+$ operator Thank you for your answer. Can you provide proof? Sep 6 comment Fibonacci nth term @nayrb Yes, exactly. Sep 3 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. Sep 3 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"? Sep 3 comment Finding integer coordinates on a sphere's surface @GerryMyerson Yet that question has no answer either. Sep 2 comment Finding integer coordinates on a sphere's surface @Lubin Not necessarily, but it depends on what values of $r$ can generate solutions. Sep 2 comment Finding integer coordinates on a sphere's surface @BillCook That gives points inside a circle, I require points on a surface. Aug 31 comment Recursive number of divisors function And this will not work for the number-of-divisors function? Aug 31 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). Aug 31 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/… Aug 29 comment Finding the maximum remainder of a division @HassanMuhammad Both $x$ and $y$ are positive integers. Aug 27 comment Generating integer solutions to $4mn - m^2 + n^2 = ±1$ Got it! Thank you for your answer