Expand 10^n to Powers of 4
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...
2 years 前
已解决
Create Circular Perfect Square Sequence
A sequence v(1:N) made of values 1:N can be created for N>31 such that v(i)+v(i+1) is a perfect square. The sum of v(N)+v(1) mus...
Compute the harmonic numbers
The nth <https://mathworld.wolfram.com/HarmonicNumber.html harmonic number> is defined as the sum of the reciprocals of the inte...
SatCom #4: Satellite Orbit Altitude
Satellite and Space Engineering - Problem #4
This is part of a series of problems looking at topics in satellite and space comm...
2 years 前
已解决
SatCom #3: Free Space Path Loss
*Satellite and Space Engineering - Problem #3*
_This is part of a series of problems looking at topics in satellite and space...
Generate a Parasitic Number
This problem is the next step up from <http://www.mathworks.com/matlabcentral/cody/problems/156-parasitic-numbers Problem 156>. ...
2 years 前
已解决
Frugal number
check whether n is a frugal number
* a frugal number is a natural number in a given number base that has more digits than the...