Gelöst


Award medals to winners

ein Tag vor

Gelöst


Solve a ballot counting problem

ein Tag vor

Gelöst


Construct finite difference approximations of derivatives
In solving a differential equation with a finite-difference method, one computes derivatives with various combinations of the fu...

ein Tag vor

Gelöst


Solve a Weird Calculator puzzle
The September 2012 issue of GAMES Magazine had a Weird Calculator puzzle by Erich Friedman. In this puzzle, the calculator has o...

ein Tag vor

Gelöst


Count alternating permutations
In an alternating permutation of numbers 1 to n, the numbers are arranged so that they alternately increase and decrease. For ex...

ein Tag vor

Gelöst


Construct dimensionless parameters
*Summary* Write a function to construct dimensionless parameters from a list of variables, a matrix indicating their dimensi...

ein Tag vor

Gelöst


Find the zeros of the Bessel function of the first kind
<https://mathworld.wolfram.com/BesselFunctionoftheFirstKind.html Bessel functions> are important in many problems in mathematica...

ein Tag vor

Gelöst


Compute the Bernoulli numbers
The <https://en.wikipedia.org/wiki/Bernoulli_number Bernoulli numbers> appear in several applications in number theory, includin...

ein Tag vor

Gelöst


Solve Geozee
Geozee is a new daily puzzle game where you have to assign 9 countries to 9 categories. Categories are such things as "Human Dev...

2 Tage vor

Gelöst


Show me the shape of your array
Write a function that determines the shape of the input array x: Return 'square' if x has the same number of rows and colum...

2 Tage vor

Gelöst


Decode an Encrypted AES image using CTR (counter mode) with no padding
Given an encoded AES image using CTR mode with no padding, the Initialization Vector (IV) (32 byte in uint8), and the AESkey (25...

2 Tage vor

Gelöst


Decode Message using AES with Cipher Block Chaining (CBC) and PKCS#5 padding
Provided an encrypted message using AES CBC mode with PKCS#5 padding, an encrypted AES key in the form of an audio .wav file tha...

2 Tage vor

Gelöst


Bit Stream conversion to Audio Frequency Shift Key using Bell 202 (Modem)
Convert a character binary bit-stream transmitted at a certain baud-rate into an audio stream using Audio Frequency Shift Key (A...

3 Tage vor

Gelöst


Compute the Ramanujan tau function for large numbers
The Ramanujan tau function is defined by the relation where . The first few values of are 1, -24, 252, -1472, and 4830. Wr...

3 Tage vor

Gelöst


Integrate a Power-Tower of a Function
Write a function to compute this integral: Where the function, F(x), will be provided as an Anonymous function of x, and th...

3 Tage vor

Gelöst


Quasi-Carmichael Numbers
Determine if the provided inputs are Quasi-Carmichael numbers and output a logical matrix of the same size as the input.

3 Tage vor

Gelöst


Minimum, Maximum, and Number of Primitive Roots Modulo (m)
This is a continuation of problem 59212, find the number of primitive roots modulo (m) and output the minimum and maximum of tho...

3 Tage vor

Gelöst


Sum of Consecutive Positive Integers Equals Product of Limiting Values
Determine m and n for the following equation: For example: 3 + 4 + 5 + 6 = 6*3 is the first occurance that satisfies the equat...

3 Tage vor

Gelöst


Heronian Triangles with Consecutive Integral Sides and Integral Area
Hero's area formula for any triangle with sides a, b, c is: . Heronian triangles are triangles having integral sides and integr...

3 Tage vor

Gelöst


Quaternions to Rotation Matrices
Given a matrix of Quaternions (along the rows), output a 3D matrix of Rotation Matrices.

4 Tage vor

Gelöst


Rotation Matrix to Euler Angles
Given a rotation matrix, generate the Euler Angles as output [phi,theta,psi]. [phi is a rotation around X-axis, theta is rotatio...

4 Tage vor

Gelöst


Solutions to Generalized Pell Equation or Quadratic Diophantine
The generalized Pell equation is of the form: . Given D and N as inputs, output the first 50 positive integer solutions [x, y] s...

4 Tage vor

Gelöst


Is the Matrix Square?
Write a function that determines whether the input matrix x is square. Return true if x has the same number of rows and columns...

4 Tage vor

Gelöst


Convert Periodic Continued Fraction to Fractional Radical Representation
Every periodic continued fraction can be prepresented by a number of the form where p, q, and d are all integers with d>0, , an...

5 Tage vor

Gelöst


B-Zuckerman Numbers
Similar to my last problem (B_Harshad Numbers), B-Zuckerman Numbers are numbers that are divisable by the product of their digit...

6 Tage vor

Gelöst


B-Harshad Numbers
Determine (and provide as output in decimal form) all the harshad numbers base B (B-Harshad) from a given array of decimal numbe...

6 Tage vor

Gelöst


Consecutive Pairs of Smooth Numbers from Set of Prime Numbers
Given an input set of prime numbers (p), generate all pairs of consecutive smooth numbers (x) (see Stormer's Theorem). For exam...

6 Tage vor

Mehr laden