Solved


List modest numbers up to n
After determining the nude numbers, or the numbers that openly display some of their divisors as their digits, one would think t...

3 months ago

Solved


List Ormiston prime pairs
The numbers 1913 and 1931 form the first Ormiston prime pair. The numbers are consecutive primes, and they are anagrams of each ...

3 months ago

Solved


Describe n from right to left
If you were to describe the number 46 from right to left, you could say “one 6, one 4”, or 1614. The number 8663 would be “one 3...

3 months ago

Solved


Determine the e-divisors of an integer
From MathWorld: is called an e-divisor (or exponential divisor) of a number with prime factorization if and where for...

3 months ago

Solved


Count the e-divisors of an integer
Cody Problem 2664 asks us to count the divisors of an integer, and Cody Problem 60843 involves listing the e-divisors of an inte...

3 months ago

Solved


Sum powers of e-divisors
In number theory the function produces the sum of divisors of an integer raised to the power . Setting sums the divisors, as ...

3 months ago

Solved


Multiply real numbers to get the smallest integers
Write a function that takes a vector of real numbers and multiplies them by a factor to produce the integers with the smallest a...

3 months ago

Solved


Extract numbers using a decaying sieve
The Sieve of Eratosthenes is one method of determining primes. Starting with 2, one keeps 2 and removes 2x2, 3x2, 4x2, etc. Then...

3 months ago

Solved


Determine whether a number is a repfigit number
A sequence of numbers is constructed from a number with the following steps: List the digits of . Compute the ()st term as t...

3 months ago

Solved


Area-02
Given the radius of the circle inscribed in a square, find the area of the square that can be fitted perfectly in the corner. ...

3 months ago

Solved


Find the circle inscribed in a triangle
Write a function that takes the x- and y-coordinates of three points describing the vertices of a triangle and returns the cente...

3 months ago

Solved


Calculate the volume of the intersection of two balls
Consider two balls (solid spheres) in , with radius and respectively. Suppose that the distance between the centers of the two...

3 months ago

Solved


Google Drive file download
This Challenge is to download a file from GoogleDrive given its "copylink" provided URL and a file name. GoogleDrive links fail...

3 months ago

Solved


Google Drive: MATLAB mat file download
Matlab 'mat' files are notoriously hard to email and download as they are binary files. To make a 'mat' file downloadable from ...

3 months ago

Solved


Word with Highest Frequency
Write a MATLAB function that takes in a string and returns the word with the highest frequency in the string. The function shoul...

3 months ago

Solved


Solve the logic
logic(1) = -4 logic(2) = -8 logic(3) = -9 logic(4) = 4 logic(5) = 95 logic(6) = 690

3 months ago

Solved


Cycle Detection
Detect if a graph has cycles: Inputs n: the number of vertices (where each vertex corresponds to an integer from 1 to n) edge...

3 months ago

Solved


A Mathematical Problem
Find the kth digit of the inverse of a number 'n'. Assumption: n>1

3 months ago

Solved


Solve the matrix equation AXB + X + C = 0 for X
Let A, B, and C be square matrices of equal size, and let the matrix X be defined by the matrix equation A * X * B + X + ...

3 months ago

Solved


Array size along k-th dimension
Given an n-dimensional array M, find the size of M along the k-th dimension (1 <= k <= n), without using size(), height() or wid...

3 months ago

Solved


Find out the smallest number 9 times greater
What is the smallest natural number where the result of moving the digit on the far right to the front of the number is a number...

3 months ago

Solved


Find the 2023 Russian Lunar Lander (LUNA-25)
Locate the LUNA-25, 2023 Russian Lander, by comparing Pre and Post-Landing Lunar images. Give the [row,col] of the approximate...

3 months ago

Solved


Compute the maximal product of any two numbers whose concatenation is n
Write a function that takes an input and computes the maximal product of numbers that concatenate to . For example, if , then t...

3 months ago

Solved


The Hacker Parole Problem
The hacker parole problem 100 hackers have been imprisoned, but have been given a way to get parole. Each of the 100 prisone...

3 months ago

Solved


Determine aquifer properties: steady pump test in a leaky confined aquifer
Problem statement Write a function to determine the hydraulic conductivity of a leaky confined aquifer and the hydraulic condu...

3 months ago

Solved


Determine aquifer properties: steady pump test in confined or unconfined aquifers
Problem statement Write a function to determine the hydraulic conductivity and radius of influence using data from a steady p...

3 months ago

Solved


Primitive Root Modulo n
Given a positive integer n > 2, return a vector, v, of positive integers smaller than n that are primitive roots modulo n. If no...

3 months ago

Solved


Roman to Integer Conversion
The idea behind this cody problem is to write a code that converts the Roman Numerals to Integers. A numeral system known as R...

3 months ago

Solved


Compute the sum of distances from a point to the sides of an equilateral triangle
Write a function to compute the sum of the (shortest) distances from a point inside an equilateral triangle to the sides of the ...

3 months ago

Load more