A résolu


Check p = 6n +/- 1, the generic formula for odd prime numbers greater than 3
Problem statement For all odd prime number p greater than 3, there exists a positive integer n, such that p = 6n +/- 1 : ...

environ un mois il y a

A résolu


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

environ un mois il y a

A résolu


Generate Bernoulli polynomials
The Bernoulli polynomial is a polynomial of order with the properties that and for , where the prime denotes differentiat...

environ un mois il y a

A résolu


Classify numbers as abundant, deficient, or perfect
A number is perfect if the sum of its proper divisors (i.e., divisors excluding the number itself) is equal to itself. For examp...

environ un mois il y a

A résolu


Basic Mathematics 8
A robot is extending its arm and attempting to reach a game piece that is X” away and Yg ” off the ground. The base of the arm i...

environ un mois il y a

A résolu


ICFP2024 001: Lambdaman 6
The ICFP2024 contest was held June29 thru July 1. The contest consisted of five parts: ICFP Language, Lambdaman maze, Starship f...

environ un mois il y a

A résolu


Pseudo-Zernike Polynomials
Problem #1476 deals with Radial Zernike Polynomials. Here, generate the Pseudo-Zernike Polynomials for a given order n and degr...

environ un mois il y a

Problème


Pseudo-Zernike Polynomials
Problem #1476 deals with Radial Zernike Polynomials. Here, generate the Pseudo-Zernike Polynomials for a given order n and degr...

environ un mois il y a | 0 | 5 solveurs

A résolu


Shapiro Polynomials
Given an order n, return the coefficients of 1st Shapiro polynomials Pn(x) - %Example P1(x) = x + 1 => Output = [1 1]; P...

environ un mois il y a

Problème


Shapiro Polynomials
Given an order n, return the coefficients of 1st Shapiro polynomials Pn(x) - %Example P1(x) = x + 1 => Output = [1 1]; P...

environ 2 mois il y a | 0 | 7 solveurs

A résolu


Compute measurement uncertainty
Suppose a variable depends on independent variables , , . If the independent variables have uncertainty , , etc. and the uncer...

environ 2 mois il y a

A résolu


Rooky Towers
You are wandering and as you realise something's off, you find yourself lost in a peculiar place - Over a giant field which is ...

environ 2 mois il y a

Problème


Rooky Towers
You are wandering and as you realise something's off, you find yourself lost in a peculiar place - Over a giant field which is ...

environ 2 mois il y a | 1 | 8 solveurs

A résolu


Touchard Polynomial
Return the coefficients of nth (n>=0) Touchard polynomials - T1(x) = x; output = [1 0]; T2(x) = x^2 + x; output = [1 1 0]...

environ 2 mois il y a

Problème


Touchard Polynomial
Return the coefficients of nth (n>=0) Touchard polynomials - T1(x) = x; output = [1 0]; T2(x) = x^2 + x; output = [1 1 0]...

environ 2 mois il y a | 0 | 6 solveurs

Problème


Padovan Polynomials
Hello there. I'm afraid I bear bad news - Anakin Skywalker is no longer a Jedi. But fear not young Padawan, we shall not falter...

environ 2 mois il y a | 1 | 8 solveurs

A résolu


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

environ 2 mois il y a

A résolu


Sequence problem
find the nth term of the sequence: 790 1303 2033 ____ 4366 6095

environ 2 mois il y a

A résolu


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

environ 2 mois il y a

A résolu


Stirling Numbers - I
Problems #1388 & #45187 deal with Stirling numbers of the 2nd Kind. Here, generate the Stirling numbers S(n,k) of the 1st kind ...

environ 2 mois il y a

Problème


Stirling Numbers - I
Problems #1388 & #45187 deal with Stirling numbers of the 2nd Kind. Here, generate the Stirling numbers S(n,k) of the 1st kind ...

environ 2 mois il y a | 0 | 6 solveurs

A résolu


Bernstein Basis Polynomials
Return the coefficients of a Bernstein Basis Polynomial B(v,n) for degree n and order v - %Examples B(2, 5) = 10*x^2*(1-x)...

environ 2 mois il y a

Problème


Bernstein Basis Polynomials
Return the coefficients of a Bernstein Basis Polynomial B(v,n) for degree n and order v - %Examples B(2, 5) = 10*x^2*(1-x)...

environ 2 mois il y a | 0 | 7 solveurs

A résolu


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

environ 2 mois il y a

A résolu


Dickson Polynomials
Return the coefficients of nth (n>=0) Dickson polynomial of the 1st kind as follows - 1st row of the output will be the coeffi...

environ 2 mois il y a

Problème


Dickson Polynomials
Return the coefficients of nth (n>=0) Dickson polynomial of the 1st kind as follows - 1st row of the output will be the coeffi...

environ 2 mois il y a | 0 | 7 solveurs

A résolu


Path calculation with polynomials
Let a vector x be the input to our function. 1. If a value of an input vector element x is lower than 0, set this value to 0....

environ 2 mois il y a

A résolu


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

environ 2 mois il y a

Problème


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

2 mois il y a | 1 | 7 solveurs

A résolu


Check Euler's characteristic on regular polyhedra
Problem statement Given the number of vertices and the number of faces of a given regular polyhedron, compute the number of its...

3 mois il y a

Charger plus