This problem wants us to find the first n integer roots of the 666 function. It took me a while to understand this problem. The first integer root is at sind(666)-cosd(6^3).
The notation 'nnn' is shorthand for "concatenate three copies of n". As I understand the problem, the roots of the function (i.e., the values of n at which the function is zero) are 6, 15, 18, 27, etc. However, we are to output 'nnn': 666, 151515, 181818, 272727, etc.
Although technically correct, this is sort of vexatious.
I've now submitted a less vexatious answer :)
"Technically correct" is the best kind of correct. :-)
03 - Matrix Variables 6
Find the maximum two numbers of every column of a matrix
poll: would you like the regexp (?@cmd) functionality to be banned in Cody?
Narcissistic number ?
Test if a matrix is symmetric
Filter British English into American English
Factorions: Numbers that equal the sum of the factorials of their digits
Distance between two GPS Coordinates
Whole Number Un-Concatenator
Airline Ticket Mod7 Checksum
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