Problem 2052. provide the numerical answer to these number questions...
return a row matrix containing the sorted numbers which answer the following questions:
a) what is the first Knuth number to repeat 3 times? b) how many Platonic solids are there? c) what base is the decimal number system in? d) what is the additive identity? e) what is the multiplicative identity? f) what is the smallest perfect number? g) in the Fibonacci sequence, what is the larget cube number? h) what is the number of spatial dimension we live in? i) what is the square of the only even Prime? j) what is the only even Prime? k) any number can be divided by this digit if the repeated sum of the digits is this digit
Solution Stats
Problem Comments
-
3 Comments
Jihye Sofia Seo
on 9 Feb 2017
Fun!!
Jihye Sofia Seo
on 12 Feb 2017
Really fun problem, but the test case is totally wrong. :-(
Ted
on 18 Aug 2017
glad you liked the problem, but the test case is correct just obfuscated.
Solution Comments
Show commentsProblem Recent Solvers52
Suggested Problems
-
231 Solvers
-
Getting the absolute index from a matrix
245 Solvers
-
Vectorize the digits of an Integer
317 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1051 Solvers
-
179 Solvers
More from this Author11
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!