Solved


Dimensional FindGroupsN
The upgraded version of the built-in findgroups, supports any data type, and you can specify a split dimension, and missing valu...

1 month ago

Solved


Chrono Matrix: Reconstructing the Time Portal
Your time-travel scanner has captured fragments of a portal matrix scattered across eras. Each fragment contains partial informa...

1 month ago

Solved


MATLAB Time Warp – Stabilize the Temporal Lattice by Finding the Dominant Eigenvector of a Time-Distorted Matrix
The Chrono-MAT Engine is malfunctioning. A time-distorted matrix A governs the stability of spacetime. Your mission: determine...

1 month ago

Solved


Decipher Message Using Prime of Primitive Root of Two Sequence Key
Provided a message with all characters <= 255 (ascii) as an input, decode the padded message (removing the random character pad)...

1 month ago

Solved


The Secret Code of Mars
NASA has intercepted a mysterious signal from Mars filled with random letters and numbers. Scientists believe each number in the...

1 month ago

Solved


Return the sum of all even numbers in a vector
Write a function that takes a vector of integers and returns the sum of all even numbers.

1 month ago

Solved


Compute the tersum
The tersum, which appears in certain mathematical games, involves adding two numbers in base 3 without carry and converting back...

1 month ago

Solved


q-dimensional Cartesian product
Your mission, should you choose to accept it, is to compute a q-dimensional Cartesian product, as follows. Let the input G be an...

1 month ago

Solved


Identify winnable games of Take a Square
A game has a pile of tokens, and two players alternate in taking a certain number of tokens from the pile, with the constraint t...

1 month ago

Solved


Total Area Covered by Overlapping Polygons
Given a variable length set of polygon vertex coordinates, compute the total area covered. For example, take two polygons with t...

1 month 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...

1 month ago

Solved


CumulativeCumulative Count
This is a sequel to Problem #60994 - Cumulative Count. Given a row vector of integers with repeating values - here not all re...

1 month ago

Solved


Cumulative Count
Given a row vector of integers with repeating values (with all repeating values occuring in a single continuous run), create an ...

1 month ago

Solved


Grimm's Conjecture
Grimm's conjecture states that to each element of a set of consecutive composite numbers, one can assign a unique prime number t...

1 month ago

Solved


find powers of two
find the unique, non-repeating, powers of 2 that sum to a given non-zero integer, n example: n = 23 result = [1 2 4 16] ...

1 month ago

Solved


Moving Movsum
Given a vector (x) and a window (y), calculate the sum s(k) corresponding to k-y(k)+1:k values of x %%Example 1 x = [1 2 3 4...

1 month 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...

1 month ago

Solved


Determine if LTI system with feedback control is stable
Linear timeiinvariant systems can be represented by the differential equation , where is an matrix, is an vector representing...

1 month ago

Solved


Evaluate Deterministic Finite Automata on String
Given a Deterministic Finite Automata (DFA) and a string, determine whether or not the DFA will accept when ran on the string. A...

1 month ago

Solved


Determine whether a number is a seesaw number
Cody Problem 60957 dealt with balanced primes. In that case, balance was measured in terms of the average of primes around a giv...

1 month ago

Solved


List balanced primes
A balanced prime of order is one that equals the average of the primes before it and the primes after it. For example, 79 is ...

1 month ago

Solved


P(girl likes you | she smiled at you)
Compute the probability Given the input probabilities

1 month ago

Solved


List mean-of-2 primes
The prime number 53 is the average of the first prime before it (47) and the first prime after it (59), and the prime number 11 ...

1 month ago

Solved


My wife's logic
Its is always the opposite of the causality law, that is to say the opposite of the implication relationship in math/logic terms...

1 month ago

Solved


List even numbers whose Goldbach partition does not use the largest prime
The strong Goldbach conjecture says that every even number greater than 2 can be expressed as a sum of two prime numbers—that is...

1 month ago

Solved


Extra colors
Context In the RGB color system used by Matlab, the color is a 1 x 3 / row vector [R G B] with each value/component R, G, B in ...

1 month ago

Solved


Compile evidence for the Carmichael totient conjecture
The totient function counts the positive integers up to that are relatively prime to . The Carmichael totient conjecture state...

1 month ago

Solved


Breaking up a chocolate bar
You've got a chocolate bar of size , and you want to break it up into bite-sized () pieces. How many steps are required to do th...

1 month ago

Solved


Classify triangles as acute, obtuse, or right
In an acute triangle, the three interior angles are acute, or smaller than 90 degrees. In an obtuse triangle, one angle is obtus...

1 month ago

Solved


Compute the antisigma function
The sum of divisors function, or , is the sum of the numbers that divide . The antisigma function is the sum of numbers less tha...

1 month ago

Load more