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.
How is this still a solution I do not know
my answer is correct,,,,,
my answer is correct.....
@goc3 u can't change or update something not yours, for me no problem because your the leader here, i did not put the inspiration, but that's not good to change it, it's better for u if u delete it not change it.
Project Euler: Problem 6, Natural numbers, squares and sums.
Back to basics 14 - Keywords
Matrix indexing with two vectors of indices
Change the sign of even index entries of the reversed vector
Flip the vector from right to left
Hilbert Scan Algorithm
Input & Output "Smart One"
Find my secret function II
Relation between functions "dec2bin" & "dec2binvec"
Stop a ZigZag scanning N*N Matrix at any diag you want
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