Community Profile

photo

Rafael S.T. Vieira


Last seen: 7 mois il y a Actif depuis 2020

Computer Scientist in love with Computer Graphics.

Programming Languages:
Python, C, Java, PHP, Javascript, MATLAB, SQL, HTML, CSS, Arduino, Shell
Spoken Languages:
English, French, Portuguese

Statistiques

All
  • MATLAB Central Treasure Hunt Finisher
  • Thankful Level 2
  • Thankful Level 1
  • Leader
  • R2016b Feature Challenge Master
  • Word Puzzles Master
  • Card Games Master
  • Number Manipulation II Master
  • Strings III Master
  • Strings II Master
  • Sequences And Series III Master
  • Strings I Master

Afficher les badges

Content Feed

Afficher par

A résolu


Determine whether a prime is Pythagorean

plus d'un an il y a

A résolu


Compute the nth Pythagorean prime
Pythagorean primes have the form p = 4n+1, where n is an integer, and they can be written as the sum of squares of two integers....

plus d'un an il y a

A résolu


Word Ladder
Given a set of words, and two other words - start and destination, Find the smallest chain from start to the destination such...

plus d'un an il y a

A résolu


Kolakoski Sequence
This is a modified version of the kolakoski sequence. Refer to the problem <https://www.mathworks.com/matlabcentral/cody/p...

plus d'un an il y a

A résolu


Quarantine Days
In these quarantine days, a list of what Max may do on a typical day is given in a table with the starting hour to ending hour. ...

plus d'un an il y a

A résolu


Sub-sequence - 03
Given three sequences, find the length of the longest common subsequence. It is similar to the previous problem -- <https...

plus d'un an il y a

A résolu


Sub-sequence - 02
Given two sequences, find the length of the longest common subsequence. a=[1,1,1,1,1,2,3,1,4] b=[2,3,0,0,9,5,4,1] longe...

plus d'un an il y a

A résolu


Sub-sequence - 01
Find the length of the longest increasing subsequence in the given array. a=[2,4,2,1,3,5,6] longest increasing subsequen...

plus d'un an il y a

A résolu


The Tortoise and the Hare - 02
Previous problem <https://www.mathworks.com/matlabcentral/cody/problems/45425-the-tortoise-and-the-hare-01> Suppose in an inf...

plus d'un an il y a

A résolu


volume of a rectangle prism
volume of a rectangle prism using "b" as base, "h" as height and "w" as width.

plus d'un an il y a

A résolu


area of a rectangle
area of a rectangle base b and height h

plus d'un an il y a

A résolu


area of a rectangle
area of a rectangle with base "b" and height "h"

plus d'un an il y a

A résolu


area of a circle
area of a circle with "r" as radius

plus d'un an il y a

A résolu


Coin Distribution - 02
Prev prob <https://www.mathworks.com/matlabcentral/cody/problems/45385-coin-distribution> Given a set of coins and an amount,...

plus d'un an il y a

A résolu


Count the ways to draw non-intersecting chords between points on a circle
There are 9 ways to draw non-intersecting chords between four points on the perimeter of a circle (including no chords at all). ...

plus d'un an il y a

A résolu


Identify Ruth-Aaron numbers
After Hank Aaron hit his 715th home run and passed Babe Ruth’s total of 714, Carl Pomerance noticed that the union of the prime ...

plus d'un an il y a

A résolu


Iterate the sum of divisors and totient

plus d'un an il y a

A résolu


List modest numbers up to n
After determining the nude numbers, or the numbers that openly display some of their divisors as their digits, one would think t...

plus d'un an il y a

A résolu


Find numbers in the Popular Computing Z-sequence
Here’s a quick one. In 1977 the magazine Popular Computing sought “problem situations for which the computer is the best (if not...

plus d'un an il y a

A résolu


Determine whether a number is a fibodiv number
The number 14 is a fibodiv number because you can divide it into 1 and 4, use those numbers as the seeds for a Fibonacci sequenc...

plus d'un an il y a

A résolu


Fill a rectangle with 1x1 and 2x2 tiles
A 3x2 rectangle can be filled with 1x1 and 2x2 tiles in three ways: The colors merely distinguish the sizes of the tiles. A 3...

plus d'un an il y a

A résolu


Classify product/digit-sum sequences
Cody Problem 53120 involved a sequence in which a term is computed by multiplying the previous two terms and adding the digits o...

plus d'un an il y a

A résolu


Compute the Sequence of the Day
A sequence starts with 1 and 2, and each subsequent term is the sum of the digits of the product of the previous two terms. As a...

plus d'un an il y a

A résolu


List the dopey numbers
If vile numbers have binary representations that end with an even number of zeros (even vile), then numbers with binary represe...

plus d'un an il y a

A résolu


List the vile numbers
Evil numbers, the subject of Cody Problem 2733 have an even number of ones in their binary representations, whereas odious numbe...

plus d'un an il y a

A résolu


Sum the elements in rows of the Levine triangle
The Levine triangle starts as follows: Row 0: 2 Row 1: 1 1 Row 2: 1 2 Row 3: 1 1 2 To construct each row, r...

plus d'un an il y a

A résolu


Find the smallest integer m such that n divides m!
Write a function that takes an integer and finds the smallest integer whose factorial is divisible by . For example, if , then...

plus d'un an il y a

A résolu


Find the nth nude number
The number 672 is a nude number because it openly displays three of its divisors: 6, 7, and 2. In other words, a nude number is ...

plus d'un an il y a

A résolu


Acid and water
&#9878; &#9878; &#9878; &#9878; &#9878; &#9878; &#9878; &#9878; Assume that there is a 100 liter tank. It is initially fi...

plus d'un an il y a

A résolu


Easy Sequences 24: Number of Coprime Lattice Points
Given a number 'n', you were tasked to mark and count all coprime lattice points at the first quadrant bounded by the points (0,...

plus d'un an il y a

Charger plus