In each case, the linear fit intercepts the concordant curve in two places. I think it is the higher one that we are seeking, no? For 3 of the test problems (# 2,4,5) the solution given seems to be the lower one.
Yes, you want the higher intercept. I will recheck this.
Yes, you were correct. Sorry for the mistake. It has been fixed.
Determine if input is odd
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
Longest Collatz Sequence
Number of Primitive Roots and Cyclic
Combinations using Stirling numbers of the second kind
RSA encryption using public key
Number Theoretic Transform (NTT)
Montgomery Reduction Algorithm (REDC)
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office