Gelöst


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

etwa ein Jahr vor

Problem


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

etwa ein Jahr vor | 1 | 12 Lösungsvorschläge

Gelöst


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

etwa ein Jahr vor

Discussion


Recursion - Looping or Vectorization
For some time now, this has been bugging me - so I thought to gather some more feedback/information/opinions on this. What wo...

etwa ein Jahr vor | 0

Problem


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

etwa ein Jahr vor | 0 | 10 Lösungsvorschläge

Problem


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

etwa ein Jahr vor | 1 | 11 Lösungsvorschläge

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Problem


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

etwa ein Jahr vor | 0 | 11 Lösungsvorschläge

Gelöst


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

etwa ein Jahr vor

Problem


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

etwa ein Jahr vor | 0 | 10 Lösungsvorschläge

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Problem


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

etwa ein Jahr vor | 0 | 10 Lösungsvorschläge

Gelöst


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

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Problem


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

etwa ein Jahr vor | 1 | 10 Lösungsvorschläge

Gelöst


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

mehr als ein Jahr vor

Gelöst


Check Bertrand-Chebyshev's theorem about prime numbers
Historical context Bertrand's postulate, also later known as Chebyshev's theorem, is a very important theorem in number theory ...

mehr als ein Jahr vor

Gelöst


Check Legendre's conjecture
Context and problem statement Legendre's conjecture states for a given positive integer n, there always exists at least one pri...

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Product of two multivariate polynomials
MATLAB <https://www.mathworks.com/help/matlab/polynomials.html has a few functions> for creating and manipulating single-variabl...

mehr als ein Jahr vor

Gelöst


Mr. Pyramidad & Ms. Whissy Bolower
Businessman Mr. B. M. Pyramidad was drinking with his new girlfriend Ms. Whissy Bolower. He disclosed to her that he has an ille...

mehr als ein Jahr vor

Gelöst


Numbered lottery balls into cells
You are running a lottery, and have a number of different balls numbered 1 to N. Your job is to figure out how many different w...

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Cat's paw - 01
lets imagine a cat, standing on an infinitely long row of tiles. since its a 'cat', string length=3; it takes 3 tiles to stand. ...

mehr als ein Jahr vor

Gelöst


Pumpkin Pie!
It's time for desert at Thanksgiving. You've all gathered at grandma's house, and she's about to start cutting the pumpkin pie. ...

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Mehr laden