Solved


Find the Nth number in the 6-sequence
Find the Nth number in the 6-sequence. 6, 12, 18, 24, 36, 42, 48, 54, 66, ... Hint: Refer test suites

2 days ago

Solved


Find the Nth number in the 5-sequence
Find the Nth number in the 5-sequence. 5, 15, 25, 35, 45, 55, ... Hint: Refer test suites

2 days ago

Solved


Generate Secret Key for Cryptography
From a seed file (code.wav), decode the audio file (Bell 202 format at 200 bits/sec) into a binary stream and then convert the b...

2 days ago

Solved


Find the Prime Factors and Divisors of a Number
Given a positive integer n, find its prime factors as well as all of its divisors. Example: n=12 has prime factors [2,2,3] and ...

2 days ago

Solved


Which YAxis does this Graphic object belong to?
Your function gets a graphic object in an Axes that has 2 YAxis. Can you determine which YAxis does this object belong to? I pr...

2 days ago

Solved


Monkey and the Peaches
A monkey picked a certain number of peaches on the first day. Each day, the monkey eats half of the remaining peaches plus one ...

2 days ago

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

2 days 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...

2 days 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...

2 days 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)...

2 days 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...

2 days 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.

2 days 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...

2 days 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...

2 days 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...

2 days 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...

2 days 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...

2 days 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...

2 days 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 ...

2 days 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...

2 days 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] ...

2 days 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...

2 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...

2 days 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...

2 days 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...

2 days 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...

2 days 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 ...

2 days ago

Solved


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

2 days 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 ...

2 days 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...

2 days ago

Load more