Solved


The End of the World
given a date -- represent it in the Maya long count system. <https://en.wikipedia.org/wiki/Maya_calendar> <https://maya.nm...

9 days ago

Solved


$10,000 sequence
Find the nth term of the Hofstadter–Conway sequence and its chaotic cousin. <https://en.wikipedia.org/wiki/Hofstadter_sequenc...

10 days ago

Solved


Maya - 03
Following up on the previous two problems, now you've to add or subtract two Maya numerals. The 3rd input will be a function ...

10 days ago

Solved


Maya - 02
<https://en.wikipedia.org/wiki/Maya_numerals> Prev. prob. - <https://www.mathworks.com/matlabcentral/cody/problems/45375-maya...

10 days ago

Solved


Maya - 01
Given a number, convert it into the Maya numeral system. <https://en.wikipedia.org/wiki/Maya_numerals> For example, n...

10 days ago

Solved


Sky full of stars - 03
draw the following pattern with asterisks. For example, for n=6 '************' '***** *****' '**** ****' ...

17 days ago

Solved


Sky full of stars - 02
draw an isosceles triangle with asterisks of size n. For example, for n=6 ' * ' ' *** ' ' **...

17 days ago

Solved


Sky full of stars - 01
draw a right triangle with asterisks of size n. For example, for n=5 '* ' '** ' '*** ' '**** ' ...

17 days ago

Solved


Sieve of Eratosthenes - 02
"Sift the Two's and Sift the Three's, The Sieve of Eratosthenes. When the multiples sublime, The numbers that remain a...

17 days ago

Solved


Connect Four - 04
Previous Problem <https://www.mathworks.com/matlabcentral/cody/problems/45355-connect-four-03> In addition to the previo...

17 days ago

Solved


Count the days
Count the occurrence of a particular day (e.g. Monday) in a given year.

17 days ago

Solved


Exponentiation
Given 3 integers b,e,k; find -- mod(b^e,k)

20 days ago

Solved


Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)

20 days ago

Solved


Test
Add 1 to an input

1 month ago

Solved


Grazing-02
A cow is tied to an outside corner of a rectangular barn of size (a,b) with a rope of length l. What is the maximum area the cow...

1 month ago

Solved


Do they touch?
The center and radius of two circles are given. Determine whether they touch.

1 month ago

Solved


A "Complex" Converter: Rectangular Form <-> Polar Form
*BACKGROUND / MOTIVATION:* Complex numbers can be an important tool in an electrical engineer's toolbox because they can help...

1 month ago

Solved


Find the point of intersection of tangents.
Given two points on a conic, find the point of intersection of the corresponding tangents. The conic is given in Cartesian co...

1 month ago

Solved


Connect Four - 03
Previous Problem <https://www.mathworks.com/matlabcentral/cody/problems/45354-connect-four-01> <https://www.mathworks.co...

1 month ago

Solved


Connect Four - 02
Previous Problem <https://www.mathworks.com/matlabcentral/cody/problems/45354-connect-four-01> In addition to previous proble...

1 month ago

Solved


Connect Four - 01
Connect four is a two player board game. <https://en.wikipedia.org/wiki/Connect_Four> Given a complete connect-four board,...

1 month ago

Solved


Kissing Circles-01
Three circles are mutually tangent to each other and also to a line. find the radius of the smallest circle. The radius of th...

1 month ago

Solved


Number generator
In this problem, a number will be given. starting with the first digit, keep on adding all subsequent digits till the state (...

1 month ago

Solved


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

1 month ago

Solved


Area-07
This is a follow up of the problem <https://www.mathworks.com/matlabcentral/cody/problems/45341-area-06> in this case, fi...

1 month ago

Solved


Grazing-01
A cow is tied to an outside corner of a rectangular barn of size (a,b) with a rope of length l. What is the maximum area the cow...

1 month ago

Solved


Area-06
The length of the side of a square is given. Draw 4 quarter-circles inside the square from 4 corners with a radius equal to t...

1 month ago

Solved


Sieve of Eratosthenes
Find the nth lucky prime number. <https://planetmath.org/luckyprime> can u find a way for large n?

1 month ago

Solved


How lucky r u ?
Find the nth number in the following sequence <https://oeis.org/A264940>

1 month ago

Solved


lucky
check whether n is a lucky number <https://oeis.org/A000959>

1 month ago

Load more