Cody
Given an integer n, return the coefficients
c = [c_n,c_n-1,...,c_0]
Such that
10^n = c_n*4^(n) + c_n-1*4^(n-1) +...+ c_0*4^(0)
With the constraint that
c_n = c_0
For example,
n = 1 10^n = 10 = 2*4^(1) + 2*4^(0), so c = [2 2]
Clock Hand Angle 1
103 Solvers
sum of non-primes
261 Solvers
Maximum value in a matrix
2127 Solvers
Bit calculation
60 Solvers
Are you in XY plane?
110 Solvers
Sort Reversal
8 Solvers
Let's Make A Deal: The Player's Dilemma
3 Solvers
The Generalized-N Eggs Problem
2 Solvers
Nodal Voltage of Resistor Ladder Network
6 Solvers
Toads and Frogs Puzzle 2
4 Solvers
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