I believe these solutions are not right. By the profile picture it seems that each time 7 circles are generated and 1 of 7 circles is removed. At the second iteration we would have for Area, 1 - 1/3 - 6/81 which is 66/81, and not 68/81. It seems that some people found a formula used in the test suite....but that hardly represents the picture. This problem needs a better description. It is not clear at all what should be done. Sierpinski triangle divide each side by 2, Sierpinski carpet divide each side by 3, and a Sierpinski circle would divide by what number? By the profile picture, it seems that the length of the circle is to be divided by 6 (since it generates hexagon-like structures)....but this recursive step wouldn't reach the solution in the test suite.
PS: It is also possible that the user changed his profile picture, but then this would make this problem unsolvable without hacking.
Sort a list of complex numbers based on far they are from the origin.
Program an exclusive OR operation with logical operators
Project Euler: Problem 10, Sum of Primes
Volume of a box
center of mass
house of cards
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