Problem 44227. Divisible by 21
Write a function to determine if a number is divisible by 21.
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Jean-Marie Sainthillier
on 30 May 2017
Divisible by 21 or by 7 ?
What is the name of the function that you want ?
divisible_by_21.m or divisible_by_7.m (you test both)
Why do you forbid all these functions ?
Jean-Marie Sainthillier
on 30 May 2017
A lot of why ...
goc3
on 31 May 2017
The problem maker in this case (no pun intended) simply copied the test case from my Divisible by 7 problem and made some edits, but obviously not enough to make it solvable. I've greatly simplified the test suite for this problem so that it is now solvable.
Jean-Marie Sainthillier
on 1 Jun 2017
Thanks Grant.
Solution Comments
Show commentsProblem Recent Solvers49
Suggested Problems
-
3276 Solvers
-
Try 1.5.4: Celsius to Fahrenheit
802 Solvers
-
558 Solvers
-
698 Solvers
-
Matlab Basics II - Count rows in a matrix
372 Solvers
More from this Author14
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!