goc3
Member of the Community Advisory Board since its inception | MATLAB enthusiast | Code optimizer | Software tester | Materials scientist / mechanical engineer by degree and licensure | Favorite element: rhenium
MATLAB, HTML, CSS
Spoken Languages:
English
Professional Interests:
App Building, Data Analysis, Material Sciences, Statistics, Mechanical Engineering
Statistics
RANK
1,395
of 302,377
REPUTATION
52
CONTRIBUTIONS
6 Questions
11 Answers
ANSWER ACCEPTANCE
83.33%
VOTES RECEIVED
17
RANK
of 21,753
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
33 Discussions
AVERAGE NO. OF LIKES
3
Feeds
Solved
Sub-sequence - 03
Given three sequences, find the length of the longest common subsequence. It is similar to the previous problem -- <https...
10 hours ago
Solved
Sub-sequence - 02
Given two sequences, find the length of the longest common subsequence. a=[1,1,1,1,1,2,3,1,4] b=[2,3,0,0,9,5,4,1] longe...
10 hours ago
Solved
Kolakoski Sequence
This is a modified version of the kolakoski sequence. Refer to the problem <https://www.mathworks.com/matlabcentral/cody/p...
11 hours ago
Solved
Word Ladder
Given a set of words, and two other words - start and destination, Find the smallest chain from start to the destination such...
12 hours ago
Solved
Quarantine Days
In these quarantine days, a list of what Max may do on a typical day is given in a table with the starting hour to ending hour. ...
13 hours ago
Solved
The Tortoise and the Hare - 02
Previous problem <https://www.mathworks.com/matlabcentral/cody/problems/45425-the-tortoise-and-the-hare-01> Suppose in an inf...
13 hours ago
Solved
What can you get for exactly amount of money(harder)
Inspired by "Problem 42996. what can you get for exactly amount of money" <https://ww2.mathworks.cn/matlabcentral/cody/problems...
14 hours ago
Solved
Highest powers in factorials
This is the inverse of the problem <https://www.mathworks.com/matlabcentral/cody/problems/44747 Exponents in Factorials>. Inste...
16 hours ago
Solved
Exponents in Factorials
It's time to get excited about numbers!!! Well, we're just dealing with factorials here, but it's still a good reason to get ex...
17 hours ago
Solved
Kurchan 3x3 - Optimal Score
Find an optimal 3x3 Kurchan square, score of 198. A 3x3 Kurchan square has values 1:9.The products of each row, column, diag...
5 days ago
Solved
Addition Partition
You will be given two numbers, N and K. Write a MATLAB function that will determine how many different unique ways you can have...
5 days ago
Solved
Red and green towers
Frankie has a large number of wooden cubes, painted in red and green. He is building little towers with his cubes, by stacking t...
5 days ago
Solved
Sum of combinations
Input: *X = 40*, *Y = [40 20 10 4]* Output: *Z = [1 0 0 0; 0 2 0 0; 0 1 2 0; 0 1 1 3; 0 1 0 5; 0 0 4 0; 0 0 3 3; 0 0 2 5; 0 ...
5 days ago
Solved
Recycled Numbers (CodeJam Qualification Round 2012)
Let's say a pair of distinct positive integers ( _n_ , _m_ ) is recycled if you can obtain _m_ by moving some digits from the ...
5 days ago
Solved
Penny Flipping: Reverse subsets of a sequence of coins until you recover the original configuration
The original Penny Flipping Problem (PF-1) starts with a stack of N pennies arranged with all the coins heads up. The first oper...
5 days ago
Solved
Compute the number of squares a knight can reach after n moves
Several Cody problems involve knights from chess. They have asked players to find a knight’s tour in a matrix (CP 96), determine...
6 days ago
Solved
List numbers that cannot be expressed as the sum of two primes
The Goldbach conjecture claims that even numbers greater than 2 can be expressed as the sum of two prime numbers. What about the...
6 days ago
Solved
Count the primes resulting from changing one digit of a number
If you start with the number 24 and seek primes by changing a single digit, you can find two: 23 and 29. If you start with 130, ...
6 days ago
Solved
Compute the area of a lune
Write a function to compute the area of the shaded moon-shaped region in the figure below—that is, the area of a smaller circle ...
6 days ago
Solved
Compute the totient summatory function
Cody Problem 656 deals with the totient function, denoted by which counts the numbers less than that are relatively prime to ....
6 days ago
Solved
Compute the Ramanujan tau function
The Ramanujan tau function is defined by the relation where . The first few values of are 1, -24, 252, -1472, and 4830. W...
6 days ago
Solved
Gather primes
A book titled Gather that I regularly see inspired this game: make as many words as possible from the letters in the word GATHER...
6 days ago
Solved
Compute the normal depth of a channel
For steady uniform flow in a channel of constant cross section and slope, the depth does not change with distance or time. In th...
6 days ago
Solved
Compute flow in a partially full pipe
Problem statement When does the maximum flow occur in a pipe? Intuition might suggest that it occurs when the pipe is flowing f...
7 days ago
Solved
Compute the effective conductivity of more heterogeneous aquifers
Cody Problem 52070 asked for a function to compute the effective hydraulic conductivity of a heterogeneous aquifer—or the single...
7 days ago
Solved
Compute steady drawdown in a confined aquifer
A well extracting water from a confined aquifer will lower the piezometric head and create a cone of depression. In steady state...
7 days ago
Solved
Locate image wells
A mathematical model of wells pumping groundwater near a boundary can be constructed using the method of images, which is also u...
7 days ago
Solved
Determine whether a number is a Blum integer
A Blum integer is a semiprime—that is, the product of two distinct primes—whose factors have the form for some integer . The nu...
7 days ago
Solved
Find the closest geyser prime
My wife and I celebrated our honeymoon and our recent anniversary in Yellowstone and Grand Teton National Parks. After returning...
7 days ago
Solved
Construct a prime circle
A <https://mathworld.wolfram.com/PrimeCircle.html prime circle> is a circular arrangement of the numbers 1 to 2n such that pairs...
7 days ago











