Solved


List Proth primes

4 years ago

Solved


List the nth prime quartet prefix
Prime numbers larger than 5 can end only in 1, 3, 7, or 9, but of course not all numbers ending in these four digits are prime. ...

4 years ago

Solved


Play Outside In with primes

4 years ago

Solved


Identify prime words

4 years ago

Solved


Schwarzschild radius
Compute the Schwarzschild radius for objects of mass m (kg). Use c = 299,792.458 km/s and G = 6.6738*10^-11 N*(m/kg)^2. Your fun...

4 years ago

Problem


Easy Sequences 50: Blocked Gaussian Integers
A Gaussian Integer is a complex number whose real and imaginary parts are both integers. A gaussian integer is said to be bloc...

4 years ago | 1 | 5 solvers

Solved


Given the radius of a sphere r, output its volume V
A sphere has radius r. Determine its volume V.

4 years ago

Solved


Leftovers? Again?!
I am thinking of a positive number X. To determine what number I am thinking of, I will give you two 1xN vectors. The first ve...

4 years ago

Solved


Optimum Egyptian Fractions
Following problem was inspired by <http://www.mathworks.com/matlabcentral/cody/problems/2126-split-bread-like-the-pharaohs-egypt...

4 years ago

Solved


Remove from a 2-D matrix all the rows that contain at least one element less than or equal to 4
Example: in = magic(5) in = 17 24 1 8 15 23 5 7 14 16 4 6 13 20 ...

4 years ago

Solved


A quadrant matrix
Write a function called quadrants that takes as its input argument a scalar integer named n. The function returns Q, a 2n-by-2n ...

4 years ago

Solved


vectorization in N
For a given integer n (n>1), compute the sum f (i) (1 <= i <= n) where f (i) = 1 if n is odd and 2 otherwise.

4 years ago

Solved


No Twins?
Write a function that accepts as input a vector and returns the same vector, but retaining only the first occurrence of an eleme...

4 years ago

Solved


Duplicate each element of a vector.
for an n-dimensional vector x, the function should return another vector 2n-dimension which each element is repeated twice. Ex...

4 years ago

Solved


Truncate the input value
Given an input x, truncate the value to obtain y. example: x = 5.252 y = 5

4 years ago

Solved


Siren frequency and Doppler effect.
The Doppler effect is described on OpenStax University Physics at https://openstax.org/books/university-physics-volume-1/pages/1...

4 years ago

Solved


Easy Sequences 9: Faithful Pairs
A "faithful number" is a non-prime number that is one less or one more than some prime number but not both. For example, for num...

4 years ago

Solved


Amazing circle of numbers 1 to n
For given natural number n, create amazing circle of numbers 1 to n without a repeat. This circle is that the sum of any two ad...

4 years ago

Solved


Spot the outlier
All points except for one lie on a line. Which one is the outlier? Example: You are given a list of x-y pairs in a column ...

4 years ago

Solved


Find the biggest empty box
You are given a matrix that contains only ones and zeros. Think of the ones as columns in an otherwise empty floor plan. You wan...

4 years ago

Solved


Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

4 years ago

Problem


Easy Sequences 49: Prime Little Omega Function
For an integer , the prime little omega function, , is defined as the total number of distinct prime factors of . So, if , sinc...

4 years ago | 1 | 6 solvers

Solved


Determine a value
Determine a y value such that it equals 7

4 years ago

Load more