Tip: the Sodner's constant is the unique positive root of the Logarithmic integral function.
This problem needs a better description. For instance, it is not clear why arithmetic is banned, after all any function uses it and it is really easy to hide the constant's value within non conventional operations (the leading solution did exactly that). It would probably be best to just force the player to use some function or to suggest what kind of solution is expected.
Thanks for the suggestion, Rafael. I edited the description. I appreciate that James also submitted a solution demonstrating understanding of the definition of Soldner's constant.
Most nonzero elements in row
Calculate Euler's phi function
Divisible by 3
Compute home primes in a given base
Find pairs of primes with the same digit sum
Determine whether a number is a prime self number
Characterize the final state of another digit inventory sequence
Determine whether a square can be drawn on a grid of dots
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