Problem 2495. Find the first N zeros of the 666 function
63.41% Correct | 36.59% Incorrect
Last Solution submitted on Feb 05, 2023
Rafael S.T. Vieira on 2 Nov 2020
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).
ChrisR on 5 Sep 2021
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.
Solution CommentsShow comments
Problem Recent Solvers22
How to find the position of an element in a vector without using the find function
Back to basics 19 - character types
Numbers spiral diagonals (Part 1)
More from this Author9
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!