Problem 44227. Divisible by 21
Write a function to determine if a number is divisible by 21.
Solution Stats
Problem Comments
-
4 Comments
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 ?
A lot of why ...
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.
Thanks Grant.
Solution Comments
Show commentsProblem Recent Solvers53
Suggested Problems
-
Basics: 'Find the eigenvalues of given matrix
427 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1189 Solvers
-
354 Solvers
-
Find my daddy long leg (No 's')
2617 Solvers
-
1778 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!