Recent content by Petter

  1. P

    Undergrad Making the Transition from Basic to Advanced Math

    You are a freshman. You shouldn't expect to become an expert in a year. You seem to be doing fine.
  2. P

    MATLAB Compute Euler Phi Function of Large Integer | Matlab Solution

    I'll reply because this thread is a top Google hit: function phi = eulerphi(n) phi = n; for i = 1:length(n) p = unique( factor(n(i)) ); phi(i) = phi(i) * prod(1 - 1./p); end end The for-loop makes the function work with vectors, which is useful for MATLAB commands like...
  3. P

    Graduate What is the optimal point to change strategies in a recreational math problem?

    Here is my (arguably easier solution): Let the breaking poing be x*. The list has n terms. Let the expected number of steps for a certain position x be E(x). For x\leq x^*, E(x)=x-1. For every x>x*, E(x) is constant (=e) (new position independent of old). So for x>x*, E(x) = e =...
  4. P

    Graduate What is the optimal point to change strategies in a recreational math problem?

    Here is my (arguably easier solution): Let the breaking poing be x*. The list has n terms. Let the expected number of steps for a certain position x be E(x). For x\leq x*, E(x)=x-1. For every x>x*, E(x) is constant (=e) (new position independent of old). So for x>x*, E(x) = e =...
  5. P

    Turning a sphere inside out (video)

    That wasn't the Euler number, was it?
  6. P

    High School Proving 1>0: Why Does the Contradiction Method Fail?

    He previously proved that 0 < -1, so that's correct.
  7. P

    High School Proving 1>0: Why Does the Contradiction Method Fail?

    Assume 1 < 0. Then by (2) 0 < -1. This gives us, using (3), that -1 < 0. Using (2) again we get 0 < 1, a contradiction. Since 0!=1 we are, using (4), done. #